diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-08-09 15:13:28 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-08-09 15:13:28 +0000 |
commit | 60a0ae198d4eb63ab8af4e3d789d66884b0219ad (patch) | |
tree | ab75cacf19ecfee422aa9b6c49696eab1094f6c7 /src/or/routerparse.c | |
parent | 7994f49d436b6fc85dd6af135d877968e938da51 (diff) | |
download | tor-60a0ae198d4eb63ab8af4e3d789d66884b0219ad.tar.gz tor-60a0ae198d4eb63ab8af4e3d789d66884b0219ad.zip |
Patch cleanups from karsten
svn:r16479
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 365fe75d22..e8708ef9ef 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -3718,9 +3718,7 @@ rend_parse_client_keys(strmap_t *parsed_clients, const char *ckstr) /* Begin parsing with first entry, skipping comments or whitespace at the * beginning. */ area = memarea_new(4096); - /* XXXX proposal 121 This skips _everything_, not just comments or - * whitespace. That's no good. */ - current_entry = strstr(ckstr, "client-name "); + current_entry = eat_whitespace(ckstr); while (!strcmpstart(current_entry, "client-name ")) { rend_authorized_client_t *parsed_entry; size_t len; |