mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
@ -540,9 +540,10 @@ BOOL get_safe_nt_error_msg(uint32 nt_code,char *msg, size_t len)
|
||||
/*****************************************************************************
|
||||
returns an NT error message. not amazingly helpful, but better than a number.
|
||||
*****************************************************************************/
|
||||
const char *get_nt_error_msg(uint32 nt_code)
|
||||
char *get_nt_error_msg(uint32 nt_code)
|
||||
{
|
||||
static pstring msg;
|
||||
|
||||
get_safe_nt_error_msg(nt_code, msg, sizeof(msg));
|
||||
return msg;
|
||||
}
|
||||
|
Reference in New Issue
Block a user