git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04a096
)
messaging: Fix CID 1373625 Unused value
author
Volker Lendecke
<vl@samba.org>
Wed, 12 Oct 2016 10:21:36 +0000
(12:21 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 14 Oct 2016 19:45:08 +0000
(21:45 +0200)
Hmm. I wonder how that cut&paste happened...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/lib/messaging/tests/messaging.c
patch
|
blob
|
history
diff --git
a/source4/lib/messaging/tests/messaging.c
b/source4/lib/messaging/tests/messaging.c
index 783850ae326269a828a44020d956df1ec38a3fc6..ba58978828808e8fbd683ed43ffff93a13a5fc24 100644
(file)
--- a/
source4/lib/messaging/tests/messaging.c
+++ b/
source4/lib/messaging/tests/messaging.c
@@
-171,6
+171,7
@@
static bool test_messaging_overflow(struct torture_context *tctx)
} while ((nwritten == -1) && (errno == EINTR));
ret = close(down_pipe[1]);
+ torture_assert(tctx, ret == 0, "close failed");
do {
nread = read(down_pipe[0], &c, 1);