wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL
authorKai Blin <kai@samba.org>
Tue, 24 Mar 2009 13:59:11 +0000 (14:59 +0100)
committerKai Blin <kai@samba.org>
Tue, 24 Mar 2009 13:59:11 +0000 (14:59 +0100)
source3/lib/wbclient.c

index 3cf992c7de9a8ec95208bcbbf5b84086c679b359..c22e1684541a410fe51f313b91a25a5549b42e05 100644 (file)
@@ -449,8 +449,8 @@ static void wb_open_pipe_connect_nonpriv_done(struct tevent_req *subreq)
        ZERO_STRUCT(state->wb_req);
        state->wb_req.cmd = WINBINDD_INTERFACE_VERSION;
 
        ZERO_STRUCT(state->wb_req);
        state->wb_req.cmd = WINBINDD_INTERFACE_VERSION;
 
-       subreq = wb_int_trans_send(state, state->ev, NULL, state->wb_ctx->fd,
-                                  &state->wb_req);
+       subreq = wb_int_trans_send(state, state->ev, state->wb_ctx->queue,
+                                  state->wb_ctx->fd, &state->wb_req);
        if (tevent_req_nomem(subreq, req)) {
                return;
        }
        if (tevent_req_nomem(subreq, req)) {
                return;
        }
@@ -480,8 +480,8 @@ static void wb_open_pipe_ping_done(struct tevent_req *subreq)
 
        state->wb_req.cmd = WINBINDD_PRIV_PIPE_DIR;
 
 
        state->wb_req.cmd = WINBINDD_PRIV_PIPE_DIR;
 
-       subreq = wb_int_trans_send(state, state->ev, NULL, state->wb_ctx->fd,
-                                  &state->wb_req);
+       subreq = wb_int_trans_send(state, state->ev, state->wb_ctx->queue,
+                                  state->wb_ctx->fd, &state->wb_req);
        if (tevent_req_nomem(subreq, req)) {
                return;
        }
        if (tevent_req_nomem(subreq, req)) {
                return;
        }
@@ -673,8 +673,8 @@ static void wb_trans_connect_done(struct tevent_req *subreq)
                return;
        }
 
                return;
        }
 
-       subreq = wb_int_trans_send(state, state->ev, NULL, state->wb_ctx->fd,
-                                  state->wb_req);
+       subreq = wb_int_trans_send(state, state->ev, state->wb_ctx->queue,
+                                  state->wb_ctx->fd, state->wb_req);
        if (tevent_req_nomem(subreq, req)) {
                return;
        }
        if (tevent_req_nomem(subreq, req)) {
                return;
        }