X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Ffce_api.c;h=69458f08b490419648a9f1f27ff124173843b424;hp=01b4d2ec130f8fcb72bd8e691e76dbb4eecd0770;hb=edf01c724768d494e522ec84380e8e49b37a2bd6;hpb=564374702f2964a25d2cd29b204c5a2f608dfb1a diff --git a/etc/afpd/fce_api.c b/etc/afpd/fce_api.c index 01b4d2ec..69458f08 100644 --- a/etc/afpd/fce_api.c +++ b/etc/afpd/fce_api.c @@ -37,8 +37,6 @@ #include #include -#include - #include #include #include @@ -527,7 +525,7 @@ int fce_register_file_modification( struct ofork *ofork ) vol = ofork->of_vol; - if (NULL == (u_name = mtoupath(vol, of_name(ofork), ofork->of_did, utf8_encoding()))) + if (NULL == (u_name = mtoupath(vol, of_name(ofork), ofork->of_did, utf8_encoding(vol->v_obj)))) { return AFPERR_MISC; } @@ -603,6 +601,8 @@ int fce_set_events(const char *events) } free(e); + + return AFP_OK; } #ifdef FCE_TEST_MAIN