From 48ea8ef84a4dd77019e29a09564a1f6e7a5b5b97 Mon Sep 17 00:00:00 2001 From: jmarcus Date: Sat, 29 Dec 2001 08:16:21 +0000 Subject: [PATCH] Add some missing breaks to preserve correct error reporting. --- etc/afpd/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/afpd/file.c b/etc/afpd/file.c index de4ee8a1..f7ab51f8 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.30 2001-12-03 05:03:38 jmarcus Exp $ + * $Id: file.c,v 1.31 2001-12-29 08:16:21 jmarcus Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -1680,6 +1680,7 @@ int ibuflen, *rbuflen; case EPERM: case EACCES: err = AFPERR_ACCESS; + break; default: err = AFPERR_PARAM; } @@ -1692,6 +1693,7 @@ int ibuflen, *rbuflen; case EPERM: case EACCES: err = AFPERR_ACCESS; + break; default: err = AFPERR_PARAM; } -- 2.39.2