]> arthur.barton.de Git - netatalk.git/commitdiff
Fixes for stupid paper bag compile-time problems with conditionals
authorrufustfirefly <rufustfirefly>
Thu, 3 Aug 2000 19:47:12 +0000 (19:47 +0000)
committerrufustfirefly <rufustfirefly>
Thu, 3 Aug 2000 19:47:12 +0000 (19:47 +0000)
bin/afppasswd/afppasswd.c

index f38ef1099412f586ac64ee3c27e7d16aefd069b3..103871d17816ddce208c3087f540fcd4345522f1 100644 (file)
@@ -174,11 +174,12 @@ found_entry:
   memcpy(password, passwd, sizeof(password));
   password[PASSWDLEN] = '\0';
 #ifdef USE_CRACKLIB
-  if ( (!(flags & OPT_NOCRACK)) and 
-       (passwd = FascistCheck(password, _PATH_CRACKLIB)) ) {
-      fprintf(stderr, "Error: %s\n", passwd);
-      err = -1;
-      goto update_done;
+  if (!(flags & OPT_NOCRACK)) {
+    if (passwd = FascistCheck(password, _PATH_CRACKLIB)) { 
+        fprintf(stderr, "Error: %s\n", passwd);
+        err = -1;
+        goto update_done;
+    } 
   }
 #endif