diff options
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/net/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index 787f71705b..b6f54a46ce 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -65,7 +65,7 @@ int net_run_function(struct net_context *ctx, } for (i=0; functable[i].name; i++) { - if (StrCaseCmp(argv[0], functable[i].name) == 0) + if (strcasecmp_m(argv[0], functable[i].name) == 0) return functable[i].fn(ctx, argc-1, argv+1); } @@ -88,7 +88,7 @@ int net_run_usage(struct net_context *ctx, } */ for (i=0; functable[i].name; i++) { - if (StrCaseCmp(argv[0], functable[i].name) == 0) + if (strcasecmp_m(argv[0], functable[i].name) == 0) if (functable[i].usage) { return functable[i].usage(ctx, argc-1, argv+1); } |