Corrected misperception of telltoc --read_and_print 1:.

1.4.2
Thomas Schmitt 7 years ago
parent 774336bbe9
commit cd94630dec
  1. 3
      test/telltoc.c

@ -856,7 +856,8 @@ int telltoc_setup(int argc, char **argv)
sscanf(argv[i-2], "%d", &read_start);
sscanf(argv[i-1], "%d", &read_count);
print_encoding = 0;
if(strncmp(argv[i], "raw:", 4) == 0 || strcmp(argv[i],"1:") == 0) {
if(strncmp(argv[i], "raw:", 4) == 0 ||
strncmp(argv[i], "1:", 2) == 0) {
print_encoding = 1;
strcpy(print_raw_file, strchr(argv[i], ':') + 1);
if (strcmp(print_raw_file, "-") == 0) {

Loading…
Cancel
Save