summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-09 23:24:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-11 13:41:35 +1100
commit1e5af9ecd0567e0afbe29ee3d69d4537628a3d63 (patch)
treef124919d5d5fa8e324576b015b3d938c2714471b /lib/param
parent8f2741ba1ad0a300c6c044c363d2278573b1a4ca (diff)
downloadsamba-1e5af9ecd0567e0afbe29ee3d69d4537628a3d63.tar.gz
samba-1e5af9ecd0567e0afbe29ee3d69d4537628a3d63.tar.bz2
samba-1e5af9ecd0567e0afbe29ee3d69d4537628a3d63.zip
lib/param Use strcasecmp_m rather than strcasecmp as this is banned in the s3 includes.h
Diffstat (limited to 'lib/param')
-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;
}
}