]> source.dussan.org Git - rspamd.git/commitdiff
Fix variable in command line options
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 20 Oct 2015 15:55:10 +0000 (16:55 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 20 Oct 2015 15:55:10 +0000 (16:55 +0100)
utils/rspamd_http_bench.c

index 06f3470136aa61aad432a3d41d8515845b4a514d..2c74745736d1156ede617f7ce4d7985de2a14d88 100644 (file)
@@ -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},