aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-09-26 00:44:47 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-09-26 00:44:47 +0000
commitc703e7e18c52017d422a9f36f4f949a7c28f2f92 (patch)
treec1e2bf41ac3daadba5325f19267c59efafb899eb /tshark.c
parentcd4d203af2a6156715d058ad25046c3c20382901 (diff)
the Ubuntu / OS X buildbots don't seem to like G_STATIC_MUTEX_INIT (for whatever reason), try to use g_static_mutex_init() instead
svn path=/trunk/; revision=22977
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 221f08583c..d716ad96a0 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1694,7 +1694,7 @@ void pipe_input_set_handler(gint source, gpointer user_data, int *child_process,
pipe_input.child_process = child_process;
pipe_input.user_data = user_data;
pipe_input.input_cb = input_cb;
- pipe_input.callback_running = G_STATIC_MUTEX_INIT;
+ g_static_mutex_init(&pipe_input.callback_running);
#ifdef _WIN32
/* Tricky to use pipes in win9x, as no concept of wait. NT can