1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r4421: fix typo

metze
(This used to be commit 222abd4171)
This commit is contained in:
Stefan Metzmacher 2004-12-31 00:07:37 +00:00 committed by Gerald (Jerry) Carter
parent 2c34148db5
commit c4e152850d

View File

@ -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;\
}\