From 109d071feda57fe91703a8f109a1b2ab0f99592f Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Tue, 6 Apr 2021 02:24:20 +0300 Subject: [PATCH] smtp test fix with getopts; --- src/tests/testsmtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/testsmtp.c b/src/tests/testsmtp.c index 7fd5302..e59d8af 100644 --- a/src/tests/testsmtp.c +++ b/src/tests/testsmtp.c @@ -84,7 +84,7 @@ int main(int argc, char **argv) {NULL, 0, NULL, 0}, }; - if((opt = getopt_long(argc, argv, "hH:p:u:P:e:v", long_options, + if((opt = getopt_long(argc, argv, "hH:p:u:e:v", long_options, &option_index)) == -1) break; switch(opt) { case 'h':