[or-cvs] disarm a trap that"s lying in wait for us

arma at seul.org arma at seul.org
Mon Aug 8 17:31:59 UTC 2005


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

Modified Files:
	log.c 
Log Message:
disarm a trap that's lying in wait for us


Index: log.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/log.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- log.c	11 Jun 2005 05:31:15 -0000	1.96
+++ log.c	8 Aug 2005 17:31:57 -0000	1.97
@@ -307,9 +307,10 @@
     fclose(victim->file);
   } else if (victim->is_syslog) {
 #ifdef HAVE_SYSLOG_H
-    if (--syslog_count == 0)
+    if (--syslog_count == 0) {
       /* There are no other syslogs; close the logging facility. */
       closelog();
+    }
 #endif
   }
 }



More information about the tor-commits mailing list