diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-26 23:20:35 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-26 23:20:35 +0000 |
commit | d40a91bafe578ba54665ee3dc5e98257956a8550 (patch) | |
tree | 5059fd9e604107e1c9b12946613358acca220fc0 /dumpcap.c | |
parent | 6dd99eabce8ec9654c12dcc22e15e84fb306133e (diff) |
Don't call g_log(); as the comment indicates it can cause problems.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37418 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1365,7 +1365,7 @@ capture_cleanup_handler(DWORD dwCtrlType) } #else static void -capture_cleanup_handler(int signum) +capture_cleanup_handler(int signum _U_) { /* On UN*X, we cleanly shut down the capture on SIGINT, SIGHUP, and SIGTERM. We assume that if the user wanted it to keep running @@ -1376,11 +1376,6 @@ capture_cleanup_handler(int signum) * the "recursion" and abort. */ - g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_INFO, - "Console: Control signal"); - g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, - "Console: Control signal %d", signum); - capture_loop_stop(); } #endif |