X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=etc%2Fafpd%2Fappl.c;h=379fae22efd1344dfee7ebdf6e7f01992c35b6ce;hb=6655a7d0a550224642fc0f83320565d6e1123273;hp=59de70e37a4d2ab04a9719f0b80d0b89ea519106;hpb=1a16fe7e7662b6c0830dbb7a87856b0566a7ae43;p=netatalk.git diff --git a/etc/afpd/appl.c b/etc/afpd/appl.c index 59de70e3..379fae22 100644 --- a/etc/afpd/appl.c +++ b/etc/afpd/appl.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "volume.h" #include "directory.h" @@ -481,7 +482,7 @@ int afp_getappl(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t return( AFPERR_NOITEM ); } buflen = *rbuflen - sizeof( bitmap ) - sizeof( appltag ); - if ( getfilparams(vol, bitmap, path, curdir, rbuf + sizeof( bitmap ) + + if ( getfilparams(obj, vol, bitmap, path, curdir, rbuf + sizeof( bitmap ) + sizeof( appltag ), &buflen ) != AFP_OK ) { *rbuflen = 0; return( AFPERR_BITMAP );