From e1d07dcd4d473f7683154d2bf7c0a92fea9933ba Mon Sep 17 00:00:00 2001 From: srittau Date: Thu, 7 Feb 2002 23:54:27 +0000 Subject: [PATCH] Trunk-BP: indentions. --- etc/afpd/afp_options.c | 20 ++++++++++---------- etc/afpd/directory.c | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/etc/afpd/afp_options.c b/etc/afpd/afp_options.c index 7ba9fe97..6f19df50 100644 --- a/etc/afpd/afp_options.c +++ b/etc/afpd/afp_options.c @@ -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); diff --git a/etc/afpd/directory.c b/etc/afpd/directory.c index de8b95d7..86472736 100644 --- a/etc/afpd/directory.c +++ b/etc/afpd/directory.c @@ -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; } -- 2.39.2