From: didg Date: Thu, 18 Feb 2010 08:08:01 +0000 (+0000) Subject: OSX return AFPERR_NOOBJ rather than AFPERR_PARAM X-Git-Tag: before-renameat~18 X-Git-Url: https://arthur.barton.de/gitweb/?p=netatalk.git;a=commitdiff_plain;h=ea05e68c3aad7262dc00f85b1ce8769de409b6b1 OSX return AFPERR_NOOBJ rather than AFPERR_PARAM --- diff --git a/etc/afpd/file.c b/etc/afpd/file.c index 175e6d93..47555f3c 100644 --- a/etc/afpd/file.c +++ b/etc/afpd/file.c @@ -1,5 +1,5 @@ /* - * $Id: file.c,v 1.138 2010-02-18 02:02:30 didg Exp $ + * $Id: file.c,v 1.139 2010-02-18 08:08:01 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -1246,7 +1246,7 @@ int afp_copyfile(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf _U_, si } if ( *s_path->m_name != '\0' ) { - retvalue = path_error(s_path, AFPERR_PARAM); + retvalue =path_error(s_path, AFPERR_NOOBJ); goto copy_exit; }