svn commit: samba r22537 - in branches/SAMBA_3_0/source/rpc_client: .

obnox at samba.org obnox at samba.org
Fri Apr 27 15:26:40 GMT 2007


Author: obnox
Date: 2007-04-27 15:26:40 +0000 (Fri, 27 Apr 2007)
New Revision: 22537

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22537

Log:
Use a (more speaking) macro when there is one.


Modified:
   branches/SAMBA_3_0/source/rpc_client/cli_lsarpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_client/cli_lsarpc.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_client/cli_lsarpc.c	2007-04-27 14:31:26 UTC (rev 22536)
+++ branches/SAMBA_3_0/source/rpc_client/cli_lsarpc.c	2007-04-27 15:26:40 UTC (rev 22537)
@@ -164,7 +164,7 @@
 			NT_STATUS_UNSUCCESSFUL );
 
 	if (!NT_STATUS_IS_OK(r.status) &&
-	    NT_STATUS_V(r.status) != NT_STATUS_V(STATUS_SOME_UNMAPPED)) {
+	    !NT_STATUS_EQUAL(r.status, STATUS_SOME_UNMAPPED)) {
 	  
 		/* An actual error occured */
 		result = r.status;



More information about the samba-cvs mailing list