aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-20 16:55:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-20 16:55:10 +0100
commit7ffc61d7ef1b3bfcb5188ace477445438ca068fa (patch)
treed5ffb01e8cb11361ea347bb0d7c65b99520f6678 /utils
parentb146b1cc7c4aae6445695026ff282d3f13076272 (diff)
downloadrspamd-7ffc61d7ef1b3bfcb5188ace477445438ca068fa.tar.gz
rspamd-7ffc61d7ef1b3bfcb5188ace477445438ca068fa.zip
Fix variable in command line options
Diffstat (limited to 'utils')
-rw-r--r--utils/rspamd_http_bench.c2
1 files changed, 1 insertions, 1 deletions
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},