Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
main: fix pidfile variable initialization
  • Loading branch information
perexg committed Sep 28, 2014
1 parent 16269ad commit 50b76cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Expand Up @@ -451,7 +451,7 @@ main(int argc, char **argv)
int log_options = TVHLOG_OPT_MILLIS | TVHLOG_OPT_STDERR | TVHLOG_OPT_SYSLOG;
const char *log_debug = NULL, *log_trace = NULL;
char buf[512];
FILE *pidfile;
FILE *pidfile = NULL;

main_tid = pthread_self();

Expand Down

0 comments on commit 50b76cd

Please sign in to comment.