summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-03-24 14:59:11 +0100
committerKai Blin <kai@samba.org>2009-03-24 14:59:11 +0100
commit2ff2ceffd256b7709d8ee807517f856cfdad5d9e (patch)
tree9ba873fdb6e2e811034ce5b1290583b4b49bd5a4
parent5f753e22f1f536e0e227db0f453809ad6cfacaf6 (diff)
downloadsamba-2ff2ceffd256b7709d8ee807517f856cfdad5d9e.tar.gz
samba-2ff2ceffd256b7709d8ee807517f856cfdad5d9e.tar.bz2
samba-2ff2ceffd256b7709d8ee807517f856cfdad5d9e.zip
wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL
-rw-r--r--source3/lib/wbclient.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/wbclient.c b/source3/lib/wbclient.c
index 3cf992c7de..c22e168454 100644
--- a/source3/lib/wbclient.c
+++ b/source3/lib/wbclient.c
@@ -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;
- 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;
}
@@ -480,8 +480,8 @@ static void wb_open_pipe_ping_done(struct tevent_req *subreq)
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;
}
@@ -673,8 +673,8 @@ static void wb_trans_connect_done(struct tevent_req *subreq)
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;
}