]> arthur.barton.de Git - netatalk.git/commit
afpd: Return the correct error for non-existent volume
authorRoss Lagerwall <rosslagerwall@gmail.com>
Sun, 31 Aug 2014 07:14:24 +0000 (08:14 +0100)
committerRalph Boehme <rb@sernet.de>
Tue, 2 Sep 2014 14:00:00 +0000 (16:00 +0200)
commit65b294132868b509ad73260863b7bc9f35e3f8fa
tree759137507af27054c77d2c0dd15eed65315af388
parenteff6b8621d8857f1b2e52054b42688d412041138
afpd: Return the correct error for non-existent volume

Return kFPObjectNotFound rather than kFPParamErr when openvol() is
called with a non-existent volume.  This follows the specification and
Apple's implementation.

Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
Reviewed-by: Ralph Boehme <rb@sernet.de>
etc/afpd/volume.c