diff options
author | Gerald Carter <jerry@samba.org> | 2002-12-17 22:53:56 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-12-17 22:53:56 +0000 |
commit | 846b50cd417b392288727ecf948ba4df30a90e6e (patch) | |
tree | b3fe4d0f570cb5e43a5b38ad5bc492dabeb5b338 /source3/libsmb | |
parent | 2134817842a8fceea9e922e00272c3adef864f9a (diff) | |
download | samba-846b50cd417b392288727ecf948ba4df30a90e6e.tar.gz samba-846b50cd417b392288727ecf948ba4df30a90e6e.tar.bz2 samba-846b50cd417b392288727ecf948ba4df30a90e6e.zip |
app_head merge for get_friendly_nt_err()
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/nterr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c index 4bb21efaa7..e494995f86 100644 --- a/source3/libsmb/nterr.c +++ b/source3/libsmb/nterr.c @@ -602,9 +602,9 @@ char *get_friendly_nt_error_msg(NTSTATUS nt_code) int idx = 0; while (nt_err_desc[idx].nt_errstr != NULL) { - if (NT_STATUS_V(nt_errs[idx].nt_errcode) == NT_STATUS_V(nt_code)) + if (NT_STATUS_V(nt_err_desc[idx].nt_errcode) == NT_STATUS_V(nt_code)) { - return nt_errs[idx].nt_errstr; + return nt_err_desc[idx].nt_errstr; } idx++; } |