summaryrefslogtreecommitdiff
path: root/source4/smb_server/request.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-13 13:13:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:44 -0500
commit360f125f255fd7d5a172d012c00b3cfbff5a6989 (patch)
treee923d87fa67562dca791eecd450ea10243fbc389 /source4/smb_server/request.c
parentcff1f3e8a961ffc15c09ef5de1aa965122e6e4f6 (diff)
downloadsamba-360f125f255fd7d5a172d012c00b3cfbff5a6989.tar.gz
samba-360f125f255fd7d5a172d012c00b3cfbff5a6989.tar.bz2
samba-360f125f255fd7d5a172d012c00b3cfbff5a6989.zip
r2326: remove definition and usage of struct socket_context
metze (This used to be commit 1854907da8d577db41de9aa14573d5c8c0092f47)
Diffstat (limited to 'source4/smb_server/request.c')
-rw-r--r--source4/smb_server/request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/request.c b/source4/smb_server/request.c
index fad1d25bba..a5ca789a39 100644
--- a/source4/smb_server/request.c
+++ b/source4/smb_server/request.c
@@ -49,7 +49,7 @@ struct smbsrv_request *init_smb_request(struct smbsrv_connection *smb_conn)
{
struct smbsrv_request *req;
- smb_conn->connection->socket->pkt_count++;
+ smb_conn->socket.pkt_count++;
req = talloc_p(smb_conn, struct smbsrv_request);
if (!req) {
@@ -251,7 +251,7 @@ void req_send_reply_nosign(struct smbsrv_request *req)
_smb_setlen(req->out.buffer, req->out.size - NBT_HDR_SIZE);
}
- if (write_data(req->smb_conn->connection->socket->fde->fd, req->out.buffer, req->out.size) != req->out.size) {
+ if (write_data(req->smb_conn->connection->event.fde->fd, req->out.buffer, req->out.size) != req->out.size) {
smbsrv_terminate_connection(req->smb_conn, "failed to send reply\n");
}