diff options
author | Volker Lendecke <vl@samba.org> | 2016-10-12 12:21:36 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-10-14 21:45:08 +0200 |
commit | 978c3792b55ddbc2b3b9da922d11d2797909731f (patch) | |
tree | 6494fc1c6cd5e74c87d3f0a2b8599d22a70630fb /source4/lib/messaging | |
parent | a04a096783ea083abafb7f943074be9b59ebd950 (diff) | |
download | samba-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.c | 1 |
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); |