mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
2c34148db5
commit
c4e152850d
@ -58,7 +58,7 @@ typedef uint32_t WERROR;
|
||||
#define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000)
|
||||
#define NT_STATUS_EQUAL(x,y) (NT_STATUS_V(x) == NT_STATUS_V(y))
|
||||
|
||||
#define NT_STATUS_HAVE_NO_MOMORY(x) do { \
|
||||
#define NT_STATUS_HAVE_NO_MEMORY(x) do { \
|
||||
if (!(x)) {\
|
||||
return NT_STATUS_NO_MEMORY;\
|
||||
}\
|
||||
@ -67,7 +67,7 @@ typedef uint32_t WERROR;
|
||||
#define W_ERROR_IS_OK(x) (W_ERROR_V(x) == 0)
|
||||
#define W_ERROR_EQUAL(x,y) (W_ERROR_V(x) == W_ERROR_V(y))
|
||||
|
||||
#define W_ERROR_HAVE_NO_MOMORY(x) do { \
|
||||
#define W_ERROR_HAVE_NO_MEMORY(x) do { \
|
||||
if (!(x)) {\
|
||||
return WERR_NOMEM;\
|
||||
}\
|
||||
|
Loading…
Reference in New Issue
Block a user