1. I removed all the crappy tagging, so it looks like code.

2. I indented it with indent -kr -nut -ts2 -i2 -l100 foo.c
ledow speaks the truth - finding errors in zero indent code is a PITA.
...