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 e6705d8c7b..bedb57670d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2029,7 +2029,7 @@ static int lp_enum(const char *s,const struct enum_list *_enum)
}
for (i=0; _enum[i].name; i++) {
- if (strcasecmp(_enum[i].name,s)==0)
+ if (strequal(_enum[i].name,s))
return _enum[i].value;
}