avoid to use 0 instead of NULL
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 10:42:03 +0000 (12:42 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 10:42:03 +0000 (12:42 +0200)
src/lib/slog.c

index 5e3b6f8..d6c4bc2 100644 (file)
@@ -176,7 +176,7 @@ static void *slog_routine(void *data)
                sleep(period);
        }
 
-       pthread_exit(0);
+       pthread_exit(NULL);
 }
 
 void slog_close(void)