]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/fce_api.c
Merge master
[netatalk.git] / etc / afpd / fce_api.c
index 01b4d2ec130f8fcb72bd8e691e76dbb4eecd0770..69458f08b490419648a9f1f27ff124173843b424 100644 (file)
@@ -37,8 +37,6 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 
-#include <netatalk/at.h>
-
 #include <atalk/adouble.h>
 #include <atalk/vfs.h>
 #include <atalk/logger.h>
@@ -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