diff options
Diffstat (limited to 'source4/libcli/util')
-rw-r--r-- | source4/libcli/util/nterr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c index 563e27ddbf..2adb561222 100644 --- a/source4/libcli/util/nterr.c +++ b/source4/libcli/util/nterr.c @@ -707,7 +707,7 @@ NTSTATUS nt_status_string_to_code(char *nt_status_str) int idx = 0; while (nt_errs[idx].nt_errstr != NULL) { - if (strcmp(nt_errs[idx].nt_errstr, nt_status_str) == 0) { + if (strcasecmp(nt_errs[idx].nt_errstr, nt_status_str) == 0) { return nt_errs[idx].nt_errcode; } idx++; |