svn commit: samba r12276 - in trunk/source/include: .
jra at samba.org
jra at samba.org
Fri Dec 16 00:13:55 GMT 2005
Author: jra
Date: 2005-12-16 00:13:54 +0000 (Fri, 16 Dec 2005)
New Revision: 12276
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12276
Log:
Move over a macro gd's code needs.
Jeremy.
Modified:
trunk/source/include/nt_status.h
Changeset:
Modified: trunk/source/include/nt_status.h
===================================================================
--- trunk/source/include/nt_status.h 2005-12-16 00:10:59 UTC (rev 12275)
+++ trunk/source/include/nt_status.h 2005-12-16 00:13:54 UTC (rev 12276)
@@ -61,4 +61,10 @@
#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 NT_STATUS_HAVE_NO_MEMORY(x) do { \
+ if (!(x)) {\
+ return NT_STATUS_NO_MEMORY;\
+ }\
+} while (0)
+
#endif
More information about the samba-cvs
mailing list