aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-26 23:20:35 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-26 23:20:35 +0000
commitd40a91bafe578ba54665ee3dc5e98257956a8550 (patch)
tree5059fd9e604107e1c9b12946613358acca220fc0 /dumpcap.c
parent6dd99eabce8ec9654c12dcc22e15e84fb306133e (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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 74a60adb08..918b1e38ac 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -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