Since I want to got blind ;-)
length is signed, I didn't look at this too carefully but
if(len >= 0) {
stuff
} else if(len & 7) {
more stuff
}
The second if will never execute unless len < 0.
marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001