[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Crashing dirservers on startup is often considered bad form.



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv12767/src/or

Modified Files:
	routerlist.c 
Log Message:
Crashing dirservers on startup is often considered bad form.

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -d -r1.259 -r1.260
--- routerlist.c	26 Aug 2005 21:46:24 -0000	1.259
+++ routerlist.c	26 Aug 2005 23:04:12 -0000	1.260
@@ -1064,7 +1064,8 @@
     smartlist_t *changed = smartlist_create();
     SMARTLIST_FOREACH(new_list->routers, routerinfo_t *, r,
     {
-      if (router_add_to_routerlist(r,NULL)==0)
+      char *msg;
+      if (router_add_to_routerlist(r,&msg)==0)
         smartlist_add(changed, r);
     });
     smartlist_clear(new_list->routers);