]> arthur.barton.de Git - netatalk.git/commitdiff
Trunk-BP: indentions.
authorsrittau <srittau>
Thu, 7 Feb 2002 23:54:27 +0000 (23:54 +0000)
committersrittau <srittau>
Thu, 7 Feb 2002 23:54:27 +0000 (23:54 +0000)
etc/afpd/afp_options.c
etc/afpd/directory.c

index 7ba9fe972257b12b9649fd0c79ab6aaa344b17bd..6f19df50d78f8030c78ee5c0002905a4380f3f60 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.3 2002-02-07 23:54:27 srittau 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);
index de8b95d79e3d0d2b638b039454226a5bd111839d..86472736e064492c53308da71619e2a3a45619d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: directory.c,v 1.19.2.3 2002-01-14 02:50:34 srittau Exp $
+ * $Id: directory.c,v 1.19.2.4 2002-02-07 23:54:27 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -456,11 +456,11 @@ static int deletedir(char *dir)
                     continue; /* somebody went and deleted it behind our backs. */
                 case EROFS:
                     err = AFPERR_VLOCK;
-                                       break;
+                    break;
                 case EPERM:
                 case EACCES :
                     err = AFPERR_ACCESS;
-                                       break;
+                    break;
                 default :
                     err = AFPERR_PARAM;
                 }