diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-04 01:50:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:27 -0500 |
commit | f7a13be68d56ef0937c766026fe0dbe684f35c41 (patch) | |
tree | b39bd53373fa187e2cb7828a1021848d2a13ad84 | |
parent | 52f7f9b8be118e6db7bb9280b2b48274a3092884 (diff) | |
download | samba-f7a13be68d56ef0937c766026fe0dbe684f35c41.tar.gz samba-f7a13be68d56ef0937c766026fe0dbe684f35c41.tar.bz2 samba-f7a13be68d56ef0937c766026fe0dbe684f35c41.zip |
r3517: Fix the build - Sorry!
(This used to be commit a5c9e0a1854fdde14342e6bba511e4190122c2e1)
-rw-r--r-- | source4/librpc/rpc/dcerpc_sock.c | 4 | ||||
-rw-r--r-- | source4/torture/dcom/simple.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c index 26464884bc..361d0d4a5f 100644 --- a/source4/librpc/rpc/dcerpc_sock.c +++ b/source4/librpc/rpc/dcerpc_sock.c @@ -295,10 +295,6 @@ static NTSTATUS dcerpc_pipe_open_socket(struct dcerpc_pipe **p, struct fd_event fde; NTSTATUS status; - if (port == 0) { - port = EPMAPPER_PORT; - } - if (!(*p = dcerpc_pipe_init())) { return NT_STATUS_NO_MEMORY; } diff --git a/source4/torture/dcom/simple.c b/source4/torture/dcom/simple.c index 23db926880..2dc7e6f270 100644 --- a/source4/torture/dcom/simple.c +++ b/source4/torture/dcom/simple.c @@ -53,14 +53,13 @@ BOOL torture_dcom_simple(void) } ZERO_STRUCT(r_read); - status = dcerpc_IStream_Read(interfaces[0].pipe, &interfaces[0].ipid, mem_ctx, &r_read); + status = dcerpc_IStream_Read(interfaces[0].pipe, NULL, mem_ctx, &r_read); if (NT_STATUS_IS_ERR(error)) { printf("IStream::Read() failed - %s\n", win_errstr(error)); return False; } - - status = dcerpc_IStream_Write(interfaces[0].pipe, &interfaces[0].ipid, mem_ctx, &r_write); + status = dcerpc_IStream_Write(interfaces[0].pipe, NULL, mem_ctx, &r_write); if (NT_STATUS_IS_ERR(error)) { printf("IStream::Write() failed - %s\n", win_errstr(error)); return False; |