summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 11:34:48 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:25 +0200
commit8e7a92bc242bf167a62e36f0d9258af41d39cb25 (patch)
tree6937acb323c904d63da5b1af2fc3917ca2ed925f
parent6737c3dd32aeff76322f0f6056612f71da2fe45e (diff)
downloadsamba-8e7a92bc242bf167a62e36f0d9258af41d39cb25.tar.gz
samba-8e7a92bc242bf167a62e36f0d9258af41d39cb25.tar.bz2
samba-8e7a92bc242bf167a62e36f0d9258af41d39cb25.zip
s3: Remove smbd_server_fd() from smbd_server_connection_read_handler
-rw-r--r--source3/smbd/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index b40cbb08a4..62f0e5695b 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2261,12 +2261,12 @@ static void smbd_server_connection_read_handler(
NTSTATUS status;
uint32_t seqnum;
- bool from_client = (smbd_server_fd() == fd);
+ bool from_client = (conn->sock == fd);
if (from_client) {
smbd_lock_socket(conn);
- if (!fd_is_readable(smbd_server_fd())) {
+ if (!fd_is_readable(fd)) {
DEBUG(10,("the echo listener was faster\n"));
smbd_unlock_socket(conn);
return;