svn commit: samba r1717 - trunk/source/utils

vlendec at samba.org vlendec at samba.org
Wed Aug 11 04:02:54 GMT 2004


Author: vlendec
Date: 2004-08-11 04:02:54 +0000 (Wed, 11 Aug 2004)
New Revision: 1717
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1717&nolog=1
Log:
merge warning fix from 3_0
Modified:
   trunk/source/utils/net.c

Changeset:
Modified: trunk/source/utils/net.c
===================================================================
--- trunk/source/utils/net.c	2004-08-11 01:30:23 UTC (rev 1716)
+++ trunk/source/utils/net.c	2004-08-11 04:02:54 UTC (rev 1717)
@@ -215,7 +215,7 @@
  *
  * @return Normal NTSTATUS return.
  **/
-NTSTATUS connect_local_pipe(struct cli_state **cli_local, int pipe, BOOL *got_pipe)
+NTSTATUS connect_local_pipe(struct cli_state **cli_local, int pipe_num, BOOL *got_pipe)
 {
 	NTSTATUS nt_status;
 	extern struct in_addr loopback_ip;
@@ -227,7 +227,7 @@
 	if (!NT_STATUS_IS_OK(nt_status)) 
 		return nt_status;
 
-	if (!cli_nt_session_open(cli_tmp, pipe)) {
+	if (!cli_nt_session_open(cli_tmp, pipe_num)) {
 		DEBUG(0, ("couldn't not initialise spoolss pipe\n"));
 		cli_shutdown(cli_tmp);
 		return NT_STATUS_UNSUCCESSFUL;



More information about the samba-cvs mailing list