git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL
[ira/wip.git]
/
source3
/
lib
/
wbclient.c
diff --git
a/source3/lib/wbclient.c
b/source3/lib/wbclient.c
index 3cf992c7de9a8ec95208bcbbf5b84086c679b359..c22e1684541a410fe51f313b91a25a5549b42e05 100644
(file)
--- 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;
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;
}