Simo, with which compiler did you build this? I'd be curious to learn about the
compiler settings that make this build.
Thanks,
Volker
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:
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;