summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-15 11:41:08 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 22:39:25 +0200
commit0bd39c73be4cc14ac0961441f8ab3e65d0e9346a (patch)
tree81319931ccc39b77ab904c0ea5903a24bd06279d
parent2cd643865d89b403f1b30b68ba4e6f040705dc8d (diff)
downloadsamba-0bd39c73be4cc14ac0961441f8ab3e65d0e9346a.tar.gz
samba-0bd39c73be4cc14ac0961441f8ab3e65d0e9346a.tar.bz2
samba-0bd39c73be4cc14ac0961441f8ab3e65d0e9346a.zip
s3: Remove smbd_server_fd() from smbd_echo_loop
-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 556915a020..769838fa01 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2757,7 +2757,7 @@ static void smbd_echo_loop(struct smbd_server_connection *sconn,
TALLOC_FREE(state);
return;
}
- state->read_fde = tevent_add_fd(state->ev, state, smbd_server_fd(),
+ state->read_fde = tevent_add_fd(state->ev, state, sconn->sock,
TEVENT_FD_READ, smbd_echo_reader,
state);
if (state->read_fde == NULL) {