From: Vsevolod Stakhov Date: Tue, 20 Oct 2015 15:55:10 +0000 (+0100) Subject: Fix variable in command line options X-Git-Tag: 1.0.7~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ffc61d7ef1b3bfcb5188ace477445438ca068fa;p=thirdparty%2Frspamd.git Fix variable in command line options --- diff --git a/utils/rspamd_http_bench.c b/utils/rspamd_http_bench.c index 06f3470136..2c74745736 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},