git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5f753e2
)
wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL
author
Kai Blin
<kai@samba.org>
Tue, 24 Mar 2009 13:59:11 +0000
(14:59 +0100)
committer
Kai Blin
<kai@samba.org>
Tue, 24 Mar 2009 13:59:11 +0000
(14:59 +0100)
source3/lib/wbclient.c
patch
|
blob
|
history
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;
}