From: Pierre-Marc Fournier Date: Fri, 25 Sep 2009 19:27:53 +0000 (-0400) Subject: libust: cleanup usage of have_listener X-Git-Tag: v0.1~121 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0b2026f29acabd8676db5272f9149769ecb18d69;p=ust.git libust: cleanup usage of have_listener --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 83109a1..d6726d4 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -804,12 +804,10 @@ void create_listener(void) void sighandler(int sig) { - static char have_listener = 0; DBG("sighandler"); if(!have_listener) { create_listener(); - have_listener = 1; } }