summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-02 20:10:13 +0100
committerVolker Lendecke <vl@samba.org>2009-03-02 20:17:40 +0100
commit9cacb49eb623edc1a74c90f4fd407dce334e75e4 (patch)
tree4fda6ba68cf13d187db7abbc2777b30520f4d835
parent67d41d0fc7567cf141b12e866dd227d393e33551 (diff)
downloadsamba-9cacb49eb623edc1a74c90f4fd407dce334e75e4.tar.gz
samba-9cacb49eb623edc1a74c90f4fd407dce334e75e4.tar.bz2
samba-9cacb49eb623edc1a74c90f4fd407dce334e75e4.zip
Attempt to fix the build
Simo, with which compiler did you build this? I'd be curious to learn about the compiler settings that make this build. Thanks, Volker
-rw-r--r--source3/lib/wb_reqtrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c
index 63a25fb896..222b64667c 100644
--- a/source3/lib/wb_reqtrans.c
+++ b/source3/lib/wb_reqtrans.c
@@ -212,7 +212,7 @@ struct async_req *wb_req_write_send(TALLOC_CTX *mem_ctx,
if (subreq == NULL) {
goto fail;
}
- tevent_req_set_callback(wb_req_write_done, result);
+ tevent_req_set_callback(subreq, wb_req_write_done, result);
return result;
fail:
@@ -375,7 +375,7 @@ struct async_req *wb_resp_write_send(TALLOC_CTX *mem_ctx,
static void wb_resp_write_done(struct tevent_req *subreq)
{
struct async_req *req =
- tevent_re_callback_data(subreq, struct async_req);
+ tevent_req_callback_data(subreq, struct async_req);
int err;
ssize_t ret;