summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-13 14:43:51 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-13 14:43:51 +0000
commita33452c40149842fda3ce2a201a722009e7e1456 (patch)
tree5bc3efc1704b0fb1dafface01fbda1e6a8da6e3b /src/or/routerparse.c
parentc32a4ce6b3ac5d24ff53639d2c00d9864e9bf22c (diff)
downloadtor-a33452c40149842fda3ce2a201a722009e7e1456.tar.gz
tor-a33452c40149842fda3ce2a201a722009e7e1456.zip
Fix up (I hope) most ot the things that coverity suddenly claimed were REVERSE_INULL. This is what we get for bragging about being down to 0 issues.
svn:r18096
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index cef7f73bee..b2df638874 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1468,7 +1468,7 @@ extrainfo_parse_entry_from_string(const char *s, const char *end,
if (router_get_extrainfo_hash(s, digest) < 0) {
log_warn(LD_DIR, "Couldn't compute router hash.");
- return NULL;
+ goto err;
}
tokens = smartlist_create();
area = memarea_new();