s3:lib/messages: fix error check in messaging_filtered_read_send()
authorRalph Boehme <slow@samba.org>
Tue, 13 Oct 2015 17:08:00 +0000 (19:08 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 14 Oct 2015 08:21:09 +0000 (10:21 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Oct 14 10:21:09 CEST 2015 on sn-devel-104

source3/lib/messages.c

index 03e60975b0e420a20fc911173567f851c0de33ba..d059f238bf43c56e8df2ef603c0a42d4cd6fc620 100644 (file)
@@ -642,7 +642,7 @@ struct tevent_req *messaging_filtered_read_send(
 
        state->tevent_handle = messaging_dgm_register_tevent_context(
                state, ev);
-       if (tevent_req_nomem(state, req)) {
+       if (tevent_req_nomem(state->tevent_handle, req)) {
                return tevent_req_post(req, ev);
        }