git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-lib Replace StrCaseCmp() with strcasecmp_m()
[metze/samba/wip.git]
/
source3
/
utils
/
net_util.c
diff --git
a/source3/utils/net_util.c
b/source3/utils/net_util.c
index cc5171f0141748263b858370835e1b970d297c68..09c0b8fc764284034f14d4b684664f2d14c4b894 100644
(file)
--- a/
source3/utils/net_util.c
+++ b/
source3/utils/net_util.c
@@
-586,7
+586,7
@@
int net_run_function(struct net_context *c, int argc, const char **argv,
if (argc != 0) {
for (i=0; table[i].funcname != NULL; i++) {
- if (
StrCaseCmp
(argv[0], table[i].funcname) == 0)
+ if (
strcasecmp_m
(argv[0], table[i].funcname) == 0)
return table[i].fn(c, argc-1, argv+1);
}
}