Explorar o código

* Dont require binpass on debug binaries

svn: 3843
Bryan Drewery %!s(int64=18) %!d(string=hai) anos
pai
achega
54c9857c63
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/main.c

+ 3 - 1
src/main.c

@@ -327,7 +327,9 @@ static void dtx_arg(int& argc, char *argv[])
 {
   int i = 0, checked_pass = 0;
   char *p = NULL;
-  
+#ifdef DEBUG
+  checked_pass = 1; 
+#endif
   opterr = 0;
   while ((i = getopt(argc, argv, PARSE_FLAGS)) != EOF) {
     if (strchr(FLAGS_CHECKPASS, i) && !checked_pass) {