Browse Source

r13041@catbus: nickm | 2007-05-29 10:40:05 -0400
More messing around to try to address possible root causes of bug 436.


svn:r10388

Nick Mathewson 18 years ago
parent
commit
63035cdb33
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/or/dirserv.c
  2. 1 1
      src/or/routerlist.c

+ 1 - 0
src/or/dirserv.c

@@ -523,6 +523,7 @@ dirserv_add_multiple_descriptors(const char *desc, const char **msg)
   smartlist_t *list;
   const char *s;
   int n_parsed = 0;
+  tor_assert(msg);
 
   s = desc;
   list = smartlist_create();

+ 1 - 1
src/or/routerlist.c

@@ -2462,7 +2462,7 @@ router_add_extrainfo_to_routerlist(extrainfo_t *ei, const char **msg,
 {
   int inserted;
   (void)from_fetch;
-  (void)msg;
+  if (msg) *msg = NULL;
 
   inserted = extrainfo_insert(router_get_routerlist(), ei);