summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-10-12 12:21:36 +0200
committerJeremy Allison <jra@samba.org>2016-10-14 21:45:08 +0200
commit978c3792b55ddbc2b3b9da922d11d2797909731f (patch)
tree6494fc1c6cd5e74c87d3f0a2b8599d22a70630fb /source4/lib/messaging
parenta04a096783ea083abafb7f943074be9b59ebd950 (diff)
downloadsamba-978c3792b55ddbc2b3b9da922d11d2797909731f.tar.gz
messaging: Fix CID 1373625 Unused value
Hmm. I wonder how that cut&paste happened... Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/tests/messaging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/messaging/tests/messaging.c b/source4/lib/messaging/tests/messaging.c
index 783850ae326..ba589788288 100644
--- 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);