summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 08:52:01 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:23 +0200
commitcc5f83831961fdcee1a286ff465e616cbcba1f13 (patch)
treebdc68f0ff17605f527893171ae35e88d39fd7d69 /source3/smbd
parent59645506a092ed2d9b49d901c45968d10ea3b6a2 (diff)
downloadsamba-cc5f83831961fdcee1a286ff465e616cbcba1f13.tar.gz
samba-cc5f83831961fdcee1a286ff465e616cbcba1f13.tar.bz2
samba-cc5f83831961fdcee1a286ff465e616cbcba1f13.zip
s3: Remove smbd_server_fd() from reply_readbraw_error
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index fe5933876b..4cbe4425e8 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2895,7 +2895,7 @@ static void reply_readbraw_error(struct smbd_server_connection *sconn)
SIVAL(header,0,0);
smbd_lock_socket(sconn);
- if (write_data(smbd_server_fd(),header,4) != 4) {
+ if (write_data(sconn->sock,header,4) != 4) {
fail_readraw();
}
smbd_unlock_socket(sconn);