summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-24 12:14:44 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-24 12:14:44 +0000
commite54e970a82010eadccca3582ceb75738bee335c8 (patch)
tree655c6de4a67b71a379a723382be4e5725be21397 /src/or/directory.c
parent7b5be0210a1babd540efe8f336d3f5c54d3680f2 (diff)
downloadtor-e54e970a82010eadccca3582ceb75738bee335c8.tar.gz
tor-e54e970a82010eadccca3582ceb75738bee335c8.zip
ha ha, that infinite loop was fun.
but dirservers aren't supposed to have infinite loops. svn:r4831
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 489d9adc6d..a20e94f7c5 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -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;
}