aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-22 02:57:43 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-22 02:57:43 +0000
commit1a554220066dcf0a7c7e9ac508ceafb9f4b0846b (patch)
tree4c52dbbeea5d664915d5b1fa6262c5b1b0dfb83a /src
parent6bd81c9ee2a89ca29558be795bc4c212ad447dc2 (diff)
downloadtor-1a554220066dcf0a7c7e9ac508ceafb9f4b0846b.tar.gz
tor-1a554220066dcf0a7c7e9ac508ceafb9f4b0846b.zip
Fix windows build: juggle }s and #endifs around in main.c
svn:r3645
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index dbc81c3a2a..a629d45422 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1126,13 +1126,14 @@ static void signal_callback(int fd, short events, void *arg)
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 @@ void handle_signals(int is_parent)
#ifdef SIGXFSZ
sigaction(SIGXFSZ, &action, NULL);
#endif
-#endif /* signal stuff */
}
+#endif /* signal stuff */
}
/** Main entry point for the Tor command-line client.