Index: lib/abyss/src/http.c --- lib/abyss/src/http.c.orig +++ lib/abyss/src/http.c @@ -175,7 +175,7 @@ getLineInBuffer(TConn * const connectionP, assert(lineStart <= connectionP->buffer.t + connectionP->buffersize); - for (*errorP = false, lfPos = NULL, timedOut = false; + for (*errorP = NULL, lfPos = NULL, timedOut = false; !*errorP && !lfPos && !timedOut; ) { int const timeLeft = (int)(deadline - time(NULL)); @@ -267,7 +267,7 @@ getRestOfField(TConn * const connectionP, fieldEnd = lineEnd; /* initial value - end of 1st line */ - for (gotWholeField = false, timedOut = false, *errorP = false; + for (gotWholeField = false, timedOut = false, *errorP = NULL; !gotWholeField && !timedOut && !*errorP;) { char * nextLineEnd;