summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 11:29:44 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:24 +0200
commit95b232a008c00d69280f0fb15425d5f10c21b7a1 (patch)
treeea986f1fbaf166365c10182b5cddd4ed4ef7a42e /source3
parent4a27c10903a90604c354dc335a7e42c15b798a1d (diff)
downloadsamba-95b232a008c00d69280f0fb15425d5f10c21b7a1.tar.gz
samba-95b232a008c00d69280f0fb15425d5f10c21b7a1.tar.bz2
samba-95b232a008c00d69280f0fb15425d5f10c21b7a1.zip
s3: Remove smbd_server_fd() from receive_smb_raw_talloc_partial_read
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 9ce4bbb6f5..88fbd71648 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -261,7 +261,7 @@ static NTSTATUS receive_smb_raw_talloc_partial_read(TALLOC_CTX *mem_ctx,
if (doff > STANDARD_WRITE_AND_X_HEADER_SIZE) {
size_t drain = doff - STANDARD_WRITE_AND_X_HEADER_SIZE;
- if (drain_socket(smbd_server_fd(), drain) != drain) {
+ if (drain_socket(fd, drain) != drain) {
smb_panic("receive_smb_raw_talloc_partial_read:"
" failed to drain pending bytes");
}