Not that we should ever really see one.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
if (*result == 100)
goto cont;
- /* Now the body, if there is one */
- if (!bodylen)
- goto fin;
-
if (http10) {
/* HTTP 1.0 response. Just eat all we can. */
while (1) {
done += i;
}
}
+
+ /* Now the body, if there is one */
+ if (!bodylen)
+ goto fin;
+
/* If we were given Content-Length, it's nice and easy... */
if (bodylen > 0) {
while (done < bodylen) {