From 9cacb49eb623edc1a74c90f4fd407dce334e75e4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 2 Mar 2009 20:10:13 +0100 Subject: [PATCH] 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 --- source3/lib/wb_reqtrans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/wb_reqtrans.c b/source3/lib/wb_reqtrans.c index 63a25fb8963..222b64667ce 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; -- 2.34.1