]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix windows build: juggle }s and #endifs around in main.c
authorNick Mathewson <nickm@torproject.org>
Tue, 22 Feb 2005 02:57:43 +0000 (02:57 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Feb 2005 02:57:43 +0000 (02:57 +0000)
svn:r3645

src/or/main.c

index dbc81c3a2a47a47f8e7d35d2b6b004e1b4e0219c..a629d454226a09558ee5ecc031ee31e94251eb76 100644 (file)
@@ -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.