diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-04-30 05:58:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:25 -0500 |
commit | c2cc10c7869221c7f43cbbb151feb4c4db173cb9 (patch) | |
tree | ed23d0cc677288c81b317b4d7f82567622b032c6 /source4/auth | |
parent | 4bdc83ad5c7cfb7c33dc7e4b02316c35a589c299 (diff) | |
download | samba-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/auth')
-rw-r--r-- | source4/auth/kerberos/krb5_init_context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c index dbcd979016..aefa8fbfbc 100644 --- a/source4/auth/kerberos/krb5_init_context.c +++ b/source4/auth/kerberos/krb5_init_context.c @@ -99,7 +99,7 @@ static void smb_krb5_socket_recv(struct smb_krb5_socket *smb_krb5) return; } - smb_krb5->status = socket_recv(smb_krb5->sock, blob.data, blob.length, &nread, 0); + smb_krb5->status = socket_recv(smb_krb5->sock, blob.data, blob.length, &nread); if (!NT_STATUS_IS_OK(smb_krb5->status)) { talloc_free(tmp_ctx); return; @@ -137,7 +137,7 @@ static void smb_krb5_socket_recv(struct smb_krb5_socket *smb_krb5) smb_krb5->status = socket_recv(smb_krb5->sock, smb_krb5->partial.data + smb_krb5->partial_read, 4 - smb_krb5->partial_read, - &nread, 0); + &nread); /* todo: this should be converted to the packet_*() routines */ if (!NT_STATUS_IS_OK(smb_krb5->status)) { return; @@ -164,7 +164,7 @@ static void smb_krb5_socket_recv(struct smb_krb5_socket *smb_krb5) smb_krb5->status = socket_recv(smb_krb5->sock, smb_krb5->partial.data + smb_krb5->partial_read, smb_krb5->partial.length - smb_krb5->partial_read, - &nread, 0); + &nread); if (!NT_STATUS_IS_OK(smb_krb5->status)) return; smb_krb5->partial_read += nread; @@ -200,7 +200,7 @@ static void smb_krb5_socket_send(struct smb_krb5_socket *smb_krb5) size_t len; len = smb_krb5->request.length; - status = socket_send(smb_krb5->sock, &smb_krb5->request, &len, 0); + status = socket_send(smb_krb5->sock, &smb_krb5->request, &len); if (!NT_STATUS_IS_OK(status)) return; |