]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/ofork.c
fce: FCE version 2 with new event types and new config options
[netatalk.git] / etc / afpd / ofork.c
index 9d389bb2cb9345960bdcfb7a6cc2630e3bc2e391..59e9f153041d4da0768055a9f548ada9dd594171 100644 (file)
@@ -420,7 +420,7 @@ int of_closefork(const AFPObj *obj, struct ofork *ofork)
 
     /* Somone has used write_fork, we assume file was changed, register it to file change event api */
     if ((ofork->of_flags & AFPFORK_MODIFIED) && (forkpath)) {
-        fce_register(FCE_FILE_MODIFY, bdata(forkpath), NULL, fce_file);
+        fce_register(obj, FCE_FILE_MODIFY, bdata(forkpath), NULL);
     }
 
     ad_unlock(ofork->of_ad, ofork->of_refnum, ofork->of_flags & AFPFORK_ERROR ? 0 : 1);