diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/headless/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/curses/headless/main.c b/src/gui/curses/headless/main.c index 4bb859857..99df53d99 100644 --- a/src/gui/curses/headless/main.c +++ b/src/gui/curses/headless/main.c @@ -88,7 +88,7 @@ daemonize () int main (int argc, char *argv[]) { - int i, daemon; + int i; weechat_init_gettext (); @@ -104,16 +104,16 @@ main (int argc, char *argv[]) * If "--daemon" is received in command line arguments, * daemonize the process. */ - daemon = 0; + weechat_daemon = 0; for (i = 1; i < argc; i++) { if (strcmp (argv[i], "--daemon") == 0) { - daemon = 1; + weechat_daemon = 1; break; } } - if (daemon) + if (weechat_daemon) daemonize (); /* init, main loop and end */ |