mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
ha ha, that infinite loop was fun.
but dirservers aren't supposed to have infinite loops. svn:r4831
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user