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

[or-cvs] and a comment so i don"t try to "fix" it again later



Update of /home2/or/cvsroot/tor/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/common

Modified Files:
	log.c 
Log Message:
and a comment so i don't try to 'fix' it again later


Index: log.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- log.c	20 Nov 2004 12:16:47 -0000	1.73
+++ log.c	20 Nov 2004 12:17:19 -0000	1.74
@@ -349,6 +349,7 @@
   for (p = &logfiles; *p; ) {
     if ((*p)->is_temporary) {
       lf = *p;
+      /* we use *p here to handle the edge case of the head of the list */
       *p = (*p)->next;
       close_log(lf);
       tor_free(lf->filename);