Explorar o código

Ignore wrong arguments. Fix #48

Adrian Simionov %!s(int64=8) %!d(string=hai) anos
pai
achega
e34674f885
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/docsis.c

+ 1 - 1
src/docsis.c

@@ -427,7 +427,7 @@ main (int argc, char *argv[])
     /* no more recognisable options means that we've either finished parsing
      * all arguments or else that the remaining arguments refer to a list of
      * config files */
-    if (argc) {
+    if ((argc && encode_docsis) || (argc && decode_bin)) {
       break;
     }
   }