diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-16 07:43:24 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-16 07:43:24 +0000 |
commit | fb6554117f62132fbf58ed6af47df9373a2b45f8 (patch) | |
tree | 5e6bfc133443cca9510abe5589d5f49f0844f162 /tethereal.c | |
parent | 336086ca213652b3e0161dc10b69e6e090a53b22 (diff) | |
download | wireshark-fb6554117f62132fbf58ed6af47df9373a2b45f8.tar.gz wireshark-fb6554117f62132fbf58ed6af47df9373a2b45f8.tar.bz2 wireshark-fb6554117f62132fbf58ed6af47df9373a2b45f8.zip |
some minor fixes: logging and comments fixed
svn path=/trunk/; revision=16819
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tethereal.c b/tethereal.c index 1dc2ae01f6..8f004c2502 100644 --- a/tethereal.c +++ b/tethereal.c @@ -102,6 +102,7 @@ #include "capture_loop.h" #endif /* HAVE_LIBPCAP */ #include "epan/emem.h" +#include "log.h" /* * This is the template for the decode as option; it is shared between the @@ -649,6 +650,9 @@ main(int argc, char *argv[]) g_log_set_handler(NULL, log_flags, log_func_ignore, NULL /* user_data */); + g_log_set_handler(LOG_DOMAIN_CAPTURE_CHILD, + log_flags, + log_func_ignore, NULL /* user_data */); /* initialize memory allocation subsystem */ ep_init_chunk(); |