[or-cvs] undef FOO is cleaner than #define FOO_XX

Nick Mathewson nickm at seul.org
Tue Jan 10 20:50:24 UTC 2006


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

Modified Files:
	directory.c 
Log Message:
#undef FOO is cleaner than #define FOO_XX

Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.340
retrieving revision 1.341
diff -u -p -d -r1.340 -r1.341
--- directory.c	10 Jan 2006 19:24:40 -0000	1.340
+++ directory.c	10 Jan 2006 20:50:22 -0000	1.341
@@ -1274,7 +1274,7 @@ already_fetching_directory(int purpose)
   return 0;
 }
 
-#define INSTRUMENT_DOWNLOADS_XX 1
+#undef INSTRUMENT_DOWNLOADS
 
 #ifdef INSTRUMENT_DOWNLOADS
 /** DOCDOC */



More information about the tor-commits mailing list