summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-04-30 05:58:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:25 -0500
commitc2cc10c7869221c7f43cbbb151feb4c4db173cb9 (patch)
treeed23d0cc677288c81b317b4d7f82567622b032c6 /source4/rpc_server
parent4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299 (diff)
downloadsamba-c2cc10c7869221c7f43cbbb151feb4c4db173cb9.tar.gz
samba-c2cc10c7869221c7f43cbbb151feb4c4db173cb9.tar.bz2
samba-c2cc10c7869221c7f43cbbb151feb4c4db173cb9.zip
r15356: Remove unused 'flags' argument from socket_send() and friends.
This is in preperation for making TLS a socket library. Andrew Bartlett (This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dcerpc_sock.c b/source4/rpc_server/dcerpc_sock.c
index 587e8259f8..3346dedd44 100644
--- a/source4/rpc_server/dcerpc_sock.c
+++ b/source4/rpc_server/dcerpc_sock.c
@@ -47,7 +47,7 @@ static NTSTATUS dcerpc_write_fn(void *private_data, DATA_BLOB *out, size_t *nwri
struct socket_context *sock = talloc_get_type(private_data, struct socket_context);
size_t sendlen;
- status = socket_send(sock, out, &sendlen, 0);
+ status = socket_send(sock, out, &sendlen);
NT_STATUS_IS_ERR_RETURN(status);
*nwritten = sendlen;
@@ -152,7 +152,7 @@ static void dcesrv_sock_recv(struct stream_connection *conn, uint16_t flags)
return;
}
- status = socket_recv(conn->socket, tmp_blob.data, tmp_blob.length, &nread, 0);
+ status = socket_recv(conn->socket, tmp_blob.data, tmp_blob.length, &nread);
if (NT_STATUS_IS_ERR(status)) {
dcesrv_terminate_connection(dce_conn, nt_errstr(status));
return;