summaryrefslogtreecommitdiff
path: root/source4/libcli/cldap/cldap.c
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/libcli/cldap/cldap.c
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/libcli/cldap/cldap.c')
-rw-r--r--source4/libcli/cldap/cldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/cldap/cldap.c b/source4/libcli/cldap/cldap.c
index 7a484607a7..58beb1b642 100644
--- a/source4/libcli/cldap/cldap.c
+++ b/source4/libcli/cldap/cldap.c
@@ -83,7 +83,7 @@ static void cldap_socket_recv(struct cldap_socket *cldap)
return;
}
- status = socket_recvfrom(cldap->sock, blob.data, blob.length, &nread, 0,
+ status = socket_recvfrom(cldap->sock, blob.data, blob.length, &nread,
tmp_ctx, &src);
if (!NT_STATUS_IS_OK(status)) {
talloc_free(tmp_ctx);
@@ -156,7 +156,7 @@ static void cldap_request_timeout(struct event_context *event_ctx,
req->num_retries--;
- socket_sendto(req->cldap->sock, &req->encoded, &len, 0,
+ socket_sendto(req->cldap->sock, &req->encoded, &len,
req->dest);
req->te = event_add_timed(req->cldap->event_ctx, req,
@@ -183,7 +183,7 @@ static void cldap_socket_send(struct cldap_socket *cldap)
size_t len;
len = req->encoded.length;
- status = socket_sendto(cldap->sock, &req->encoded, &len, 0,
+ status = socket_sendto(cldap->sock, &req->encoded, &len,
req->dest);
if (NT_STATUS_IS_ERR(status)) {
DEBUG(3,("Failed to send cldap request of length %u to %s:%d\n",