Browse Source

backport: don't overlook 2nd and later single-letter options in last

argument.
wip/ssl-fprint
Oswald Buddenhagen 17 years ago
parent
commit
e161af47bb
  1. 4
      src/main.c

4
src/main.c

@ -178,8 +178,10 @@ main( int argc, char **argv )
}
arc4_init();
for (oind = 1, ochar = 0; oind < argc; ) {
for (oind = 1, ochar = 0; ; ) {
if (!ochar || !*ochar) {
if (oind >= argc)
break;
if (argv[oind][0] != '-')
break;
if (argv[oind][1] == '-') {

Loading…
Cancel
Save