mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +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.
|
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;
|
static pstring msg;
|
||||||
|
|
||||||
get_safe_nt_error_msg(nt_code, msg, sizeof(msg));
|
get_safe_nt_error_msg(nt_code, msg, sizeof(msg));
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user