summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-07-26 11:04:48 +0200
committerAndreas Schneider <asn@samba.org>2011-07-27 08:49:58 +0200
commitfe7e4ac462608200a98c64338e7b5cddda2fda71 (patch)
treecfcf5aef0df85e84f18144ef11d33539afe1e35b
parent3276060da4e7d495bd5cf5cbf7237e64d948ee77 (diff)
downloadsamba-fe7e4ac462608200a98c64338e7b5cddda2fda71.tar.gz
samba-fe7e4ac462608200a98c64338e7b5cddda2fda71.tar.bz2
samba-fe7e4ac462608200a98c64338e7b5cddda2fda71.zip
s3-rpc_server: Copy correct local tsocket address.
-rw-r--r--source3/rpc_server/rpc_handles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c
index c40029bd08..f9251eeb94 100644
--- a/source3/rpc_server/rpc_handles.c
+++ b/source3/rpc_server/rpc_handles.c
@@ -76,7 +76,7 @@ int make_base_pipes_struct(TALLOC_CTX *mem_ctx,
}
if (local_address) {
- p->local_address = tsocket_address_copy(remote_address, p);
+ p->local_address = tsocket_address_copy(local_address, p);
if (p->local_address == NULL) {
talloc_free(p);
return ENOMEM;