From 15ddf1c45b323fa8b2e2c5f5a5bdc1c708ae5765 Mon Sep 17 00:00:00 2001 From: MissValeska Date: Sun, 1 Jun 2014 20:58:16 -0700 Subject: [PATCH] Fixed a variable declaration --- src/netsukuku.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/netsukuku.c b/src/netsukuku.c index 00171bc..704841e 100644 --- a/src/netsukuku.c +++ b/src/netsukuku.c @@ -49,6 +49,8 @@ extern int optind, opterr, optopt; int destroy_netsukuku_mutex; int pid_saved; +int prevent_doubles; + int options_parsed=0; /* How many times parse_options() has been called */ void save_pid(void) @@ -440,7 +442,7 @@ void parse_options(int argc, char **argv) exit(0); break; case 'e': - int prevent_doubles = -1; + prevent_doubles = -1; prevent_doubles++; exclude_interface(prevent_doubles); break;