From b11ba248837ae9bf1df1c5ae1ca1768d57e582bb Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 23 Nov 2012 18:15:30 +0100 Subject: s3-rpc_client: try to use socket_addr if available in rpc_pipe_open_tcp() (bug #9426) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Mon Nov 26 17:36:20 CET 2012 on sn-devel-104 --- source3/torture/rpc_open_tcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/torture') diff --git a/source3/torture/rpc_open_tcp.c b/source3/torture/rpc_open_tcp.c index 074b186bad..d29f4cfbee 100644 --- a/source3/torture/rpc_open_tcp.c +++ b/source3/torture/rpc_open_tcp.c @@ -94,7 +94,8 @@ int main(int argc, const char **argv) return -1; } - status = rpc_pipe_open_tcp(mem_ctx, argv[2], &((*table)->syntax_id), + status = rpc_pipe_open_tcp(mem_ctx, argv[2], NULL, + &((*table)->syntax_id), &rpc_pipe); if (!NT_STATUS_IS_OK(status)) { d_printf("ERROR calling rpc_pipe_open_tcp(): %s\n", -- cgit