summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-20 20:47:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:46 -0500
commit93b2485c9bed5e00244acfd3de6942f091be9148 (patch)
tree788ba0341c4018a391dd86b8b82b6220585d1a5c
parent492ad718552b77d6de7233b126e834cf11f9316c (diff)
downloadsamba-93b2485c9bed5e00244acfd3de6942f091be9148.tar.gz
samba-93b2485c9bed5e00244acfd3de6942f091be9148.tar.bz2
samba-93b2485c9bed5e00244acfd3de6942f091be9148.zip
r21892: Mini-Patch from Michael
(This used to be commit 6cae3cf28155091a3951ecabd1c1b7e5c62d4c16)
-rw-r--r--source3/param/loadparm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b81d2688df..5d3a9c0c0a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3524,9 +3524,7 @@ BOOL lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
parm_ptr =
((char *)ServicePtrs[snum]) + PTR_DIFF(def_ptr,
&sDefault);
- }
- if (snum >= 0) {
if (!ServicePtrs[snum]->copymap)
init_copymap(ServicePtrs[snum]);