summaryrefslogtreecommitdiff
path: root/lib/param/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/util.c')
-rw-r--r--lib/param/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/util.c b/lib/param/util.c
index 472096f60d..a385c4d0f3 100644
--- a/lib/param/util.c
+++ b/lib/param/util.c
@@ -57,13 +57,13 @@ bool lpcfg_is_myname(struct loadparm_context *lp_ctx, const char *name)
const char **aliases;
int i;
- if (strcasecmp(name, lpcfg_netbios_name(lp_ctx)) == 0) {
+ if (strcasecmp_m(name, lpcfg_netbios_name(lp_ctx)) == 0) {
return true;
}
aliases = lpcfg_netbios_aliases(lp_ctx);
for (i=0; aliases && aliases[i]; i++) {
- if (strcasecmp(name, aliases[i]) == 0) {
+ if (strcasecmp_m(name, aliases[i]) == 0) {
return true;
}
}