diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-06-26 19:23:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:32 -0500 |
commit | 3fc105b106c1ebf0ab097b9cf150dc211be01d92 (patch) | |
tree | ed629744afffbca39216db25b0a428d5f998be57 /source4/torture/local/socket.c | |
parent | b22ddfd61d5a3e477ea4401b3800d44709d56f82 (diff) | |
download | samba-3fc105b106c1ebf0ab097b9cf150dc211be01d92.tar.gz samba-3fc105b106c1ebf0ab097b9cf150dc211be01d92.tar.bz2 samba-3fc105b106c1ebf0ab097b9cf150dc211be01d92.zip |
r16524: Fix double evaluation.
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
Diffstat (limited to 'source4/torture/local/socket.c')
-rw-r--r-- | source4/torture/local/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/local/socket.c b/source4/torture/local/socket.c index 10dfd75ece..70baae712d 100644 --- a/source4/torture/local/socket.c +++ b/source4/torture/local/socket.c @@ -54,7 +54,7 @@ static BOOL test_udp(struct torture_context *test, const void *data) torture_assert(test, localhost, "Localhost not found"); status = socket_listen(sock1, localhost, 0, 0); - torture_assert_ntstatus_ok(test, status, "listen on socket 1") + torture_assert_ntstatus_ok(test, status, "listen on socket 1"); srv_addr = socket_get_my_addr(sock1, test); if (srv_addr == NULL || strcmp(srv_addr->addr, iface_best_ip("127.0.0.1")) != 0) { @@ -164,7 +164,7 @@ static BOOL test_tcp(struct torture_context *test, const void *data) torture_comment(test, "server port is %d", srv_addr->port); status = socket_connect_ev(sock2, NULL, srv_addr, 0, ev); - torture_assert_ntstatus_ok(test, status, "connect() on socket 2") + torture_assert_ntstatus_ok(test, status, "connect() on socket 2"); status = socket_accept(sock1, &sock3); torture_assert_ntstatus_ok(test, status, "accept() on socket 1"); |