summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-17 20:42:59 +0000
committerJeremy Allison <jra@samba.org>2001-07-17 20:42:59 +0000
commitc6b51500af5d4f09b4e08d57a7e930a0817e080b (patch)
treea0c7c8dbdc919ad346a70fbce25a4cf2c9b4a74c /source3/smbd
parent0cf44bb3476279e1db878b0793aa04b6bcc44a91 (diff)
downloadsamba-c6b51500af5d4f09b4e08d57a7e930a0817e080b.tar.gz
samba-c6b51500af5d4f09b4e08d57a7e930a0817e080b.tar.bz2
samba-c6b51500af5d4f09b4e08d57a7e930a0817e080b.zip
Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
consistently. Jeremy. (This used to be commit f591ca9f25c54d3cdd0b76df472411e44c95ea47)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 7947b9cbc0..6e9b9a4828 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -574,7 +574,7 @@ static void usage(char *pname)
case 'l':
specified_logfile = True;
- pstrcpy(debugf,optarg);
+ slprintf(debugf, sizeof(debugf)-1, "%s/log.smbd", optarg);
break;
case 'a':