]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/filedir.c
Change ad_init to pass vol, add ad_init_old for stuff that doesn't have struct vol...
[netatalk.git] / etc / afpd / filedir.c
index f98f79c79c45375b25bd254f0fb808dff8e63c7f..67eb3201dbc65f022b91dca8cf2e9e2a98ceb23f 100644 (file)
@@ -247,7 +247,7 @@ static int moveandrename(const struct vol *vol,
         "moveandrename: [\"%s\"/\"%s\"] -> \"%s\"",
         cfrombstr(sdir->d_u_name), oldname, newname);
 
-    ad_init(&ad, vol->v_adouble, vol->v_ad_options);
+    ad_init(&ad, vol);
     adp = &ad;
     adflags = 0;