summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 20:52:28 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 20:52:28 +0000
commit9a220cabbc28a4e54f814aa5d596696a15e6544d (patch)
treee1cf20c35193f47abf86dd2c7d5bae0ac8107bb6 /sysdep/unix
parentb3acb10632ce9fa492a92ced1e533f0bf5edee21 (diff)
#ifdef out lots of debugging information.
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 06d1d1dc..516c4acb 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -6,7 +6,7 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#define LOCAL_DEBUG
+#undef LOCAL_DEBUG
#include <stdio.h>
#include <stdlib.h>
@@ -410,8 +410,9 @@ main(int argc, char **argv)
cli_init_unix();
- ev_run_list(&global_event_list);
- async_dump();
+#ifdef LOCAL_DEBUG
+ async_dump_flag = 1;
+#endif
DBG("Entering I/O loop.\n");