浏览代码

Fix -nohash decode option bug.

AdrianSimionov 9 年之前
父节点
当前提交
839e8f3d7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/docsis.c

+ 1 - 1
src/docsis.c

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