git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Got "medieval on our ass" about adding the -1 to slprintf.
[samba.git]
/
source3
/
smbd
/
server.c
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index baa1536248a3faea773cf062fc4f090e99de3c75..adf57b3f5521d78626535f34c1f51f7e32327c47 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-626,7
+626,7
@@
static void usage(char *pname)
TimeInit();
if(!specified_logfile) {
- slprintf(debugf, sizeof(debugf), "%s/log.smbd", LOGFILEBASE);
+ slprintf(debugf, sizeof(debugf)
-1
, "%s/log.smbd", LOGFILEBASE);
}
pstrcpy(remote_machine, "smbd");