git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1640272
)
r2507: Allow a case-insensitive lookup when converting strings into NTSTATUS
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 22 Sep 2004 10:42:09 +0000
(10:42 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:59:00 +0000
(12:59 -0500)
values.
Andrew Bartlett
source/libcli/util/nterr.c
patch
|
blob
|
history
diff --git
a/source/libcli/util/nterr.c
b/source/libcli/util/nterr.c
index 563e27ddbfd97ab89905b2241b07b98e342d9a42..2adb56122291b8ea260cfdab87d637ab9e79b953 100644
(file)
--- a/
source/libcli/util/nterr.c
+++ b/
source/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 (strc
asec
mp(nt_errs[idx].nt_errstr, nt_status_str) == 0) {
return nt_errs[idx].nt_errcode;
}
idx++;