summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 128a612a86..ed70b9cdd8 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2669,7 +2669,7 @@ static void smbd_echo_reader(struct tevent_context *ev,
DEBUG(10,("echo_handler[%d]: reading pdu\n", (int)sys_getpid()));
- status = receive_smb_talloc(state, smbd_server_fd(),
+ status = receive_smb_talloc(state->pending, smbd_server_fd(),
(char **)(void *)&state->pending[num_pending].iov_base,
0 /* timeout */,
&unread,