From: Stefan Metzmacher Date: Fri, 31 Dec 2004 00:07:37 +0000 (+0000) Subject: r4421: fix typo X-Git-Tag: samba-4.0.0alpha6~801^3~12170 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=c4e152850dc3cce08bdf751f2ae78e4efdd66dd0 r4421: fix typo metze (This used to be commit 222abd4171ce69c65a13b52675d4d75009056bca) --- diff --git a/source4/include/nt_status.h b/source4/include/nt_status.h index e95e1a745cc..71c69cc441d 100644 --- a/source4/include/nt_status.h +++ b/source4/include/nt_status.h @@ -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;\ }\