Browse Source

fesvr: Fix spacing in parse_arguments

pull/1273/head
Jerry Zhao 3 years ago
parent
commit
422d297ef0
  1. 7
      fesvr/htif.cc

7
fesvr/htif.cc

@ -327,7 +327,6 @@ void htif_t::parse_arguments(int argc, char ** argv)
break; break;
case HTIF_LONG_OPTIONS_OPTIND + 5: case HTIF_LONG_OPTIONS_OPTIND + 5:
line_size = atoi(optarg); line_size = atoi(optarg);
break; break;
case '?': case '?':
if (!opterr) if (!opterr)
@ -363,9 +362,9 @@ void htif_t::parse_arguments(int argc, char ** argv)
c = HTIF_LONG_OPTIONS_OPTIND + 4; c = HTIF_LONG_OPTIONS_OPTIND + 4;
optarg = optarg + 9; optarg = optarg + 9;
} }
else if(arg.find("+signature-granularity=")==0){ else if (arg.find("+signature-granularity=") == 0) {
c = HTIF_LONG_OPTIONS_OPTIND + 5; c = HTIF_LONG_OPTIONS_OPTIND + 5;
optarg = optarg + 23; optarg = optarg + 23;
} }
else if (arg.find("+permissive-off") == 0) { else if (arg.find("+permissive-off") == 0) {
if (opterr) if (opterr)

Loading…
Cancel
Save