libust: cleanup usage of have_listener
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 25 Sep 2009 19:27:53 +0000 (15:27 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 25 Sep 2009 19:27:53 +0000 (15:27 -0400)
libust/tracectl.c

index 83109a14c222d9f8719dc3710726f1a35a9544b6..d6726d4fc53290ffcd7d7b05cc6ed062d8d32e0a 100644 (file)
@@ -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;
        }
 }
 
This page took 0.025664 seconds and 4 git commands to generate.