From 84db4087fa38b8d4c62cbb0787d600950638034c Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 2 Oct 2018 08:42:06 -0700 Subject: vcl: fix coverity warning Change-Id: I08b0244ba8b0e8a463224b39e1f7b878ba8e4e6f Signed-off-by: Florin Coras --- src/vcl/vcl_test_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcl/vcl_test_client.c b/src/vcl/vcl_test_client.c index c92f0cb754d..cd92ed81805 100644 --- a/src/vcl/vcl_test_client.c +++ b/src/vcl/vcl_test_client.c @@ -400,7 +400,7 @@ vtc_worker_loop (void *arg) } exit: vtinf ("Worker %d done ...", wrk->wrk_index); - if (tsock->cfg.test != SOCK_TEST_TYPE_ECHO) + if (wrk->cfg.test != SOCK_TEST_TYPE_ECHO) vtc_accumulate_stats (wrk, ctrl); sleep (1); vtc_worker_sessions_exit (wrk); -- cgit 1.2.3-korg