Fix external np read after conversion to tevent_req
[samba.git] / source3 / rpc_server / srv_pipe_hnd.c
index 503e22b653e8baa0cd8eada2bfb0d9d9a5ffadac..ffb7dde1c3633a4bc3567de5e0001096b6f33904 100644 (file)
@@ -1383,7 +1383,7 @@ struct tevent_req *np_read_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
 
 static void np_read_trigger(struct tevent_req *req, void *private_data)
 {
-       struct np_read_state *state = tevent_req_callback_data(
+       struct np_read_state *state = tevent_req_data(
                req, struct np_read_state);
        struct tevent_req *subreq;