[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix windows build: juggle }s and #endifs around in main.c
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv12890/src/or
Modified Files:
main.c
Log Message:
Fix windows build: juggle }s and #endifs around in main.c
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.447
retrieving revision 1.448
diff -u -d -r1.447 -r1.448
--- main.c 22 Feb 2005 00:53:08 -0000 1.447
+++ main.c 22 Feb 2005 02:57:43 -0000 1.448
@@ -1126,13 +1126,14 @@
case SIGCHLD:
while (waitpid(-1,NULL,WNOHANG) > 0) ; /* keep reaping until no more zombies */
break;
- }
#endif
+ }
}
/** Write all statistics to the log, with log level 'severity'. Called
* in response to a SIGUSR1. */
-static void dumpstats(int severity) {
+static void
+dumpstats(int severity) {
int i;
connection_t *conn;
time_t now = time(NULL);
@@ -1250,8 +1251,8 @@
#ifdef SIGXFSZ
sigaction(SIGXFSZ, &action, NULL);
#endif
-#endif /* signal stuff */
}
+#endif /* signal stuff */
}
/** Main entry point for the Tor command-line client.