/*
- * $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.
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);
/*
- * $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.
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;
}