svn commit: samba r1716 - branches/SAMBA_3_0/source/utils
vlendec at samba.org
vlendec at samba.org
Wed Aug 11 01:30:23 GMT 2004
Author: vlendec
Date: 2004-08-11 01:30:23 +0000 (Wed, 11 Aug 2004)
New Revision: 1716
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1716&nolog=1
Log:
Get rid of a compiler warning. "pipe" is a symbol that is defined as a system
call, and gcc -Wall complains about a shadowed definition.
Volker
Modified:
branches/SAMBA_3_0/source/utils/net.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/net.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net.c 2004-08-11 01:26:42 UTC (rev 1715)
+++ branches/SAMBA_3_0/source/utils/net.c 2004-08-11 01:30:23 UTC (rev 1716)
@@ -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