smtp test fix with getopts;

master
Alexander Vdolainen 4 years ago
parent 5e009b70d3
commit 109d071fed

@ -84,7 +84,7 @@ int main(int argc, char **argv)
{NULL, 0, NULL, 0}, {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; &option_index)) == -1) break;
switch(opt) { switch(opt) {
case 'h': case 'h':

Loading…
Cancel
Save