diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 40319a59af..ea9fb1c5c0 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2349,9 +2349,12 @@ static void smbd_server_echo_handler(struct event_context *ev, if (flags & EVENT_FD_WRITE) { smbd_server_connection_write_handler(conn); - } else if (flags & EVENT_FD_READ) { + return; + } + if (flags & EVENT_FD_READ) { smbd_server_connection_read_handler( conn, conn->smb1.echo_handler.trusted_fd); + return; } } |