summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-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)