[PATCH] Fix a wrong error check
Ralph Boehme
rb at sernet.de
Tue Oct 13 17:22:40 UTC 2015
Hi
small fix for an error check.
Please review & push if ok. Thanks!
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
-------------- next part --------------
From 8b85c8801e64b0670dc845bf0f0e64ebcb1af2cb Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Tue, 13 Oct 2015 19:08:00 +0200
Subject: [PATCH] s3:lib/messages: fix error check in
messaging_filtered_read_send()
Signed-off-by: Ralph Boehme <slow at samba.org>
---
source3/lib/messages.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 03e6097..d059f23 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -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);
}
--
2.1.0
More information about the samba-technical
mailing list