]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/afp_options.c
Revert server_notif code. We're testing something new in current, and it
[netatalk.git] / etc / afpd / afp_options.c
index 7ba9fe972257b12b9649fd0c79ab6aaa344b17bd..0721a810e13c7d81f56c5bd7bca5ecf907923ed8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: afp_options.c,v 1.13.2.2 2002-01-14 02:56:08 srittau Exp $
+ * $Id: afp_options.c,v 1.13.2.5 2002-02-09 05:35:17 jmarcus Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
@@ -226,16 +226,16 @@ int afp_options_parseline(char *buf, struct afp_options *options)
         options->loginmaxfail = atoi(c);
     if ((c = getoption(buf, "-tickleval"))) {
         options->tickleval = atoi(c);
-               if (options->tickleval <= 0) {
-                       options->tickleval = 30;
-               }
-       }
+        if (options->tickleval <= 0) {
+            options->tickleval = 30;
+        }
+    }
     if ((c = getoption(buf, "-timeout"))) {
-           options->timeout = atoi(c);
-                   if (options->timeout <= 0) {
-                           options->timeout = 4;
-                   }
-           }
+        options->timeout = atoi(c);
+        if (options->timeout <= 0) {
+            options->timeout = 4;
+        }
+    }
 
     if ((c = getoption(buf, "-server_quantum")))
         options->server_quantum = strtoul(c, NULL, 0);