summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-26 23:43:06 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-26 23:43:06 +0000
commit6c158adf25dae3a71203d0dffc6a6018ba02da0d (patch)
treee06b420c2a09f9c7fde443bf4d7f731b98e72d83 /source3
parente54a611dad5fdefa11a2ff3b24c8305b3018207d (diff)
downloadsamba-6c158adf25dae3a71203d0dffc6a6018ba02da0d.tar.gz
samba-6c158adf25dae3a71203d0dffc6a6018ba02da0d.tar.xz
samba-6c158adf25dae3a71203d0dffc6a6018ba02da0d.zip
oh no! my favourite hack is broken. You can't do:
[%U] path = %H to get a new homes area. I wonder when it broke? Anyway, I've fixed it. We can all rest easy now, knowing that you really can produce an incomprehensible smb.conf and get it to work. (This used to be commit 2245da4ad6674aa373e3057c661f5bc0315e191f)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 8858455f6a..92b8f58ec9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2232,7 +2232,7 @@ int lp_servicenumber(char *pszServiceName)
for (iService = iNumServices - 1; iService >= 0; iService--)
if (VALID(iService) &&
- strwicmp(iSERVICE(iService).szService, pszServiceName) == 0)
+ strequal(lp_servicename(iService), pszServiceName))
break;
if (iService < 0)