summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index de453fb12b..b17ca7ba2c 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -619,9 +619,9 @@ static void init_structs(void )
int main(int argc,const char *argv[])
{
/* shall I run as a daemon */
- BOOL is_daemon = False;
- BOOL interactive = False;
- char *ports = NULL;
+ static BOOL is_daemon = False;
+ static BOOL interactive = False;
+ static char *ports = NULL;
int opt;
poptContext pc;