From 98b19b0e5ee9d4e3c4b6bb2279b743ba5669bcac Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 17 Dec 2002 22:55:49 +0000 Subject: app_head merge for get_friendly_nt_err() (This used to be commit 5b311250257b3c45879a85ac46d6b6aa316514bf) --- source3/libsmb/nterr.c | 4 ++-- 1 file 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++; } -- cgit