mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 13:34:59 +02:00
ha ha, that infinite loop was fun.
but dirservers aren't supposed to have infinite loops. svn:r4831
This commit is contained in:
parent
7b5be0210a
commit
e54e970a82
@ -527,7 +527,7 @@ http_get_header(const char *headers, const char *which)
|
||||
else
|
||||
return tor_strdup(cp);
|
||||
}
|
||||
cp = strchr(headers, '\n');
|
||||
cp = strchr(cp, '\n');
|
||||
if (cp)
|
||||
++cp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user