[or-cvs] Start dividing log messages into logging domains. No, LD_ ...

Nick Mathewson nickm at seul.org
Tue Oct 18 21:58:21 UTC 2005


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

Modified Files:
	or.h routerlist.c 
Log Message:
Start dividing log messages into logging domains.  No, LD_ is not the best of identifiers.  src/or has not been converted yet. Domains dont do anything yet.

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.721
retrieving revision 1.722
diff -u -d -r1.721 -r1.722
--- or.h	18 Oct 2005 20:12:22 -0000	1.721
+++ or.h	18 Oct 2005 21:58:19 -0000	1.722
@@ -133,6 +133,7 @@
 
 #include "../common/crypto.h"
 #include "../common/tortls.h"
+#define OLD_LOG_INTERFACE
 #include "../common/log.h"
 #include "../common/compat.h"
 #include "../common/container.h"

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -d -r1.345 -r1.346
--- routerlist.c	18 Oct 2005 21:19:48 -0000	1.345
+++ routerlist.c	18 Oct 2005 21:58:19 -0000	1.346
@@ -1506,6 +1506,7 @@
   if (smartlist_len(changed))
     control_event_descriptors_changed(changed);
 
+  routerlist_assert_ok(routerlist);
   router_rebuild_store(0);
 
   smartlist_free(routers);



More information about the tor-commits mailing list