summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-06-09 17:28:42 +0000
committerJeremy Allison <jra@samba.org>2003-06-09 17:28:42 +0000
commit98e1dfd3d984bcf384ec8cb086deeeee0ccf86d3 (patch)
tree99585dfad1df71d09ce8f62ae5b543e53b9555a1
parent6acf2ef6afd2537c29bba5bbe059cdf03feb3419 (diff)
downloadsamba-98e1dfd3d984bcf384ec8cb086deeeee0ccf86d3.tar.gz
samba-98e1dfd3d984bcf384ec8cb086deeeee0ccf86d3.tar.bz2
samba-98e1dfd3d984bcf384ec8cb086deeeee0ccf86d3.zip
Fix for crash bug noticed by Luke Howard | PADL Software Pty Ltd | www.padl.com.
Jeremy. (This used to be commit 6a07d19b6342e28a4827c16fcc379952bb1808b4)
-rw-r--r--source3/sam/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c
index d031c49e25..bf647da4ee 100644
--- a/source3/sam/idmap.c
+++ b/source3/sam/idmap.c
@@ -118,7 +118,7 @@ BOOL idmap_init(void)
/* get any mode parameters passed in */
if ( (pparams = strchr( remote_backend, ':' )) != NULL ) {
- pparams = '\0';
+ *pparams = '\0';
pparams++;
fstrcpy( params, pparams );
}