summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-18 15:30:17 +0100
committerMichael Adam <obnox@samba.org>2008-03-18 15:52:45 +0100
commit6c575d114b16f160cd5a5a31b15a09816a7ae488 (patch)
tree4c5a2364a986a21f83e9d0d42e6bf3e9f471c36c /source3/utils/testparm.c
parent16cbc22a99c0a302d248dc006ac0016042c1e3ec (diff)
downloadsamba-6c575d114b16f160cd5a5a31b15a09816a7ae488.tar.gz
samba-6c575d114b16f160cd5a5a31b15a09816a7ae488.tar.bz2
samba-6c575d114b16f160cd5a5a31b15a09816a7ae488.zip
testparm: fix a segfault triggered by setting "unix password sync = yes".
(introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael (This used to be commit 46a021f27c60dc579c9193606997142f5cbeba9e)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index fbfc85535c..4eed2f57ee 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -120,7 +120,6 @@ parameter.\n" );
passwd_prog = lp_passwd_program();
p = passwd_prog;
- *truncated_prog = '\0';
next_token_talloc(talloc_tos(),
&p,
&truncated_prog, NULL);