From 7ffc61d7ef1b3bfcb5188ace477445438ca068fa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 20 Oct 2015 16:55:10 +0100 Subject: [PATCH] Fix variable in command line options --- utils/rspamd_http_bench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rspamd_http_bench.c b/utils/rspamd_http_bench.c index 06f347013..2c7474573 100644 --- a/utils/rspamd_http_bench.c +++ b/utils/rspamd_http_bench.c @@ -61,7 +61,7 @@ static GOptionEntry entries[] = { "Size of payload to transfer (default: 500)", NULL}, {"conns", 'C', 0, G_OPTION_ARG_INT, &pconns, "Number of parallel connections (default: 100)", NULL}, - {"tests", 't', 0, G_OPTION_ARG_INT, &pconns, + {"tests", 't', 0, G_OPTION_ARG_INT, &ntests, "Number of tests to execute (default: 3000)", NULL}, {"openssl", 'o', 0, G_OPTION_ARG_NONE, &openssl_mode, "Use openssl crypto", NULL}, -- 2.39.5