s3-lib Replace StrCaseCmp() with strcasecmp_m()
[samba.git] / source3 / utils / net_rpc_rights.c
index a2847749b708296ca0c0b94d37b2ae6a31dc7d6e..1b99afa54e8c5f9f63575fd212414c6f9433b95b 100644 (file)
@@ -190,7 +190,7 @@ static NTSTATUS check_privilege_for_user(struct rpc_pipe_client *pipe_hnd,
        }
 
        for (i = 0; i < rights.count; i++) {
-               if (StrCaseCmp(rights.names[i].string, right) == 0) {
+               if (strcasecmp_m(rights.names[i].string, right) == 0) {
                        return NT_STATUS_OK;
                }
        }