ha ha, that infinite loop was fun.

but dirservers aren't supposed to have infinite loops.


svn:r4831
This commit is contained in:
Roger Dingledine 2005-08-24 12:14:44 +00:00
parent 7b5be0210a
commit e54e970a82

View File

@ -527,7 +527,7 @@ http_get_header(const char *headers, const char *which)
else else
return tor_strdup(cp); return tor_strdup(cp);
} }
cp = strchr(headers, '\n'); cp = strchr(cp, '\n');
if (cp) if (cp)
++cp; ++cp;
} }