diff options
author | Andreas Schneider <asn@samba.org> | 2018-10-01 21:28:06 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2018-10-23 15:39:42 +0200 |
commit | b6f1a42a7e88ff0376f92911813f3f0f56d8ccf9 (patch) | |
tree | c3beff2c225fd077bb5159fcb8300995ee9613e3 | |
parent | d588231d05fa80bce1e860f9797d7a4a7624c670 (diff) | |
download | socket_wrapper-b6f1a42a7e88ff0376f92911813f3f0f56d8ccf9.tar.gz socket_wrapper-b6f1a42a7e88ff0376f92911813f3f0f56d8ccf9.tar.xz socket_wrapper-b6f1a42a7e88ff0376f92911813f3f0f56d8ccf9.zip |
tests: Check the correct return code in test_thread_echo_tcp_write_read
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | tests/test_thread_echo_tcp_write_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_thread_echo_tcp_write_read.c b/tests/test_thread_echo_tcp_write_read.c index 2a86ba2..34f1a9e 100644 --- a/tests/test_thread_echo_tcp_write_read.c +++ b/tests/test_thread_echo_tcp_write_read.c @@ -68,7 +68,7 @@ static void *thread_worker(void *arg) ret = write(s, send_buf, sizeof(send_buf)); - assert_return_code(rc, errno); + assert_return_code(ret, errno); ret = read(s, recv_buf, |