svn commit: samba r14449 - branches/SAMBA_3_0/source/rpc_client trunk/source/rpc_client

jerry at samba.org jerry at samba.org
Wed Mar 15 15:11:45 GMT 2006


Author: jerry
Date: 2006-03-15 15:11:44 +0000 (Wed, 15 Mar 2006)
New Revision: 14449

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

Log:
fix the build (sorry everyone)
Modified:
   branches/SAMBA_3_0/source/rpc_client/cli_pipe.c
   trunk/source/rpc_client/cli_pipe.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_client/cli_pipe.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_client/cli_pipe.c	2006-03-15 14:58:39 UTC (rev 14448)
+++ branches/SAMBA_3_0/source/rpc_client/cli_pipe.c	2006-03-15 15:11:44 UTC (rev 14449)
@@ -2174,7 +2174,8 @@
 	/* sanity check to protect against crashes */
 
 	if ( !cli ) {
-		return NT_STATUS_INVALID_HANDLE;
+		*perr = NT_STATUS_INVALID_HANDLE;
+		return NULL;
 	}
 
 	/* The pipe name index must fall within our array */

Modified: trunk/source/rpc_client/cli_pipe.c
===================================================================
--- trunk/source/rpc_client/cli_pipe.c	2006-03-15 14:58:39 UTC (rev 14448)
+++ trunk/source/rpc_client/cli_pipe.c	2006-03-15 15:11:44 UTC (rev 14449)
@@ -2174,7 +2174,8 @@
 	/* sanity check to protect against crashes */
 
 	if ( !cli ) {
-		return NT_STATUS_INVALID_HANDLE;
+		*perr = NT_STATUS_INVALID_HANDLE;
+		return NULL;
 	}
 
 	/* The pipe name index must fall within our array */



More information about the samba-cvs mailing list