summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-08-11 01:30:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:19 -0500
commit4b32ee39d68618e6a6bdbc451845c7f787fe3b9b (patch)
tree252af7de34dbb4472ce506fa6e49fda63f48180b /source3/utils
parent61b9639ac7fbefc963de74f371186183cd0e3306 (diff)
downloadsamba-4b32ee39d68618e6a6bdbc451845c7f787fe3b9b.tar.gz
samba-4b32ee39d68618e6a6bdbc451845c7f787fe3b9b.tar.bz2
samba-4b32ee39d68618e6a6bdbc451845c7f787fe3b9b.zip
r1716: 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 (This used to be commit 9a2fd67037769b5cbb10edd024f6d98c610bf875)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 30e94ac8a1..6a1a97914a 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -215,7 +215,7 @@ NTSTATUS connect_to_ipc_anonymous(struct cli_state **c,
*
* @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 @@ NTSTATUS connect_local_pipe(struct cli_state **cli_local, int pipe, BOOL *got_pi
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;