]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/file.c
fce: FCE version 2 with new event types and new config options
[netatalk.git] / etc / afpd / file.c
index 9c78b1b2f3f4baaf1ade8e468ab65f584a42ece0..881640da3871fa0824792fce47b578201b014da2 100644 (file)
@@ -764,7 +764,7 @@ int afp_createfile(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf _U_,
 createfile_iderr:
     ad_flush(&ad);
     ad_close(&ad, ADFLAGS_DF|ADFLAGS_HF );
-    fce_register(FCE_FILE_CREATE, fullpathname(upath), NULL, fce_file);
+    fce_register(obj, FCE_FILE_CREATE, fullpathname(upath), NULL);
     sl_index_file(path);
 
     curdir->d_offcnt++;