Selaa lähdekoodia

Fix -nohash decode option bug.

AdrianSimionov 9 vuotta sitten
vanhempi
commit
839e8f3d7b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/docsis.c

+ 1 - 1
src/docsis.c

@@ -303,7 +303,7 @@ main (int argc, char *argv[])
 
 
   /* option: -nohash -o -d */
   /* option: -nohash -o -d */
   if (!strcmp (argv[1], "-nohash") ){
   if (!strcmp (argv[1], "-nohash") ){
-    if (argc < 6) {
+    if (argc < 5) {
       usage();
       usage();
     }
     }
     nohash = 1;
     nohash = 1;