diff options
author | Jeremy Allison <jra@samba.org> | 1997-12-02 19:00:18 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-12-02 19:00:18 +0000 |
commit | c4aaa6bc3f7e8bd823f7279c78583384e7617d93 (patch) | |
tree | 6dac417a546e6eb48121de1b1d77596ba6813758 /source3/smbd | |
parent | 00b5a07744964eb48cda7c72a428bd6c4587cca7 (diff) | |
download | samba-c4aaa6bc3f7e8bd823f7279c78583384e7617d93.tar.gz samba-c4aaa6bc3f7e8bd823f7279c78583384e7617d93.tar.bz2 samba-c4aaa6bc3f7e8bd823f7279c78583384e7617d93.zip |
asyncdns.c: Removed warning when compiling with -DSYNC_DNS.
nameelect.c: Tidied up settings of work->ServerType when unbecoming things.
nmbd.c: Fixed pidFile warning.
server.c: Fixed pidFile warning.
Jeremy.
(This used to be commit 94d53dcac5d06e48be5cea9d54625da795f62d20)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 9ca4ab5b78..d707699e33 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -5043,7 +5043,9 @@ static void usage(char *pname) int port = SMB_PORT; int opt; extern char *optarg; - char pidFile[100] = { 0 }; + char pidFile[100]; + + *pidFile = '\0'; #ifdef NEED_AUTH_PARAMETERS set_auth_parameters(argc,argv); |