ctdbd_conn: Fix a copy&paste error
authorVolker Lendecke <vl@samba.org>
Fri, 9 Jun 2017 06:41:16 +0000 (08:41 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 9 Jun 2017 21:25:16 +0000 (23:25 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/ctdbd_conn.c

index 053d1b57e719aea02d721d58418d5d4d0d986ba7..fc7b81fc872e5042d4d2ca4e6b28724854f0704a 100644 (file)
@@ -1783,7 +1783,7 @@ static int ctdbd_connection_destructor(struct ctdbd_connection *c)
        for (recv_state = c->recv_list; recv_state != NULL;) {
                DLIST_REMOVE(c->recv_list, recv_state);
                recv_state->conn = NULL;
-               tevent_req_defer_callback(send_state->req, recv_state->ev);
+               tevent_req_defer_callback(recv_state->req, recv_state->ev);
                tevent_req_error(recv_state->req, EIO);
        }