summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-03 18:16:08 +0100
committerVolker Lendecke <vl@samba.org>2009-01-03 19:22:06 +0100
commitfafb9ecc613914ee49bfdb4c1eb249fcbbcf25f7 (patch)
tree46fb8c81e7fb5b715f0405a08e688677af6d0479 /source3/rpc_client
parentb6138bf4f22e7a093d35e2f23992595acae55068 (diff)
downloadsamba-fafb9ecc613914ee49bfdb4c1eb249fcbbcf25f7.tar.gz
samba-fafb9ecc613914ee49bfdb4c1eb249fcbbcf25f7.tar.bz2
samba-fafb9ecc613914ee49bfdb4c1eb249fcbbcf25f7.zip
open_socket_out is always used with SOCK_STREAM, remove argument "type"
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index a2d334230d..45eab503fe 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2618,7 +2618,7 @@ static NTSTATUS rpc_pipe_open_tcp_port(TALLOC_CTX *mem_ctx, const char *host,
goto fail;
}
- result->trans.sock.fd = open_socket_out(SOCK_STREAM, &addr, port, 60);
+ result->trans.sock.fd = open_socket_out(&addr, port, 60);
if (result->trans.sock.fd == -1) {
status = map_nt_error_from_unix(errno);
goto fail;