diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-14 19:00:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-14 19:00:33 +0000 |
commit | 89dfec02d89979935568ff6028366eec1faf3380 (patch) | |
tree | 1b7ba464ce3767d1eb724f10b6a49d53f0b09f76 /src/or/routerparse.c | |
parent | d7fb8a34ac027e8ebf53c218fef2fd6a061d88cf (diff) | |
download | tor-89dfec02d89979935568ff6028366eec1faf3380.tar.gz tor-89dfec02d89979935568ff6028366eec1faf3380.zip |
r17614@catbus: nickm | 2008-01-14 13:55:25 -0500
Add a missing "goto err" when parsing v2 ns docs
svn:r13133
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 102bae7641..4b0d652199 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1882,7 +1882,8 @@ networkstatus_v2_parse_from_string(const char *s) if (ns->recommends_versions) { if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS))) { - log_warn(LD_DIR, "Missing client-versions"); + log_warn(LD_DIR, "Missing client-versions on versioning directory"); + goto err; } ns->client_versions = tok->args[0]; tok->args[0] = NULL; |