s3-lib Replace StrCaseCmp() with strcasecmp_m()
[samba.git] / source3 / utils / net_conf.c
index 2c6ccda110844a339c08c37b6a40f94d2ba7174d..6c61dd7206105896bb4a7d2a11d202110d74a1a2 100644 (file)
@@ -1183,7 +1183,7 @@ static int net_conf_run_function(struct net_context *c, int argc,
 
        if (argc != 0) {
                for (i=0; table[i].funcname; i++) {
-                       if (StrCaseCmp(argv[0], table[i].funcname) == 0)
+                       if (strcasecmp_m(argv[0], table[i].funcname) == 0)
                                return net_conf_wrap_function(c, table[i].fn,
                                                              argc-1,
                                                              argv+1);