]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/catsearch.c
Change ad_init to pass vol, add ad_init_old for stuff that doesn't have struct vol...
[netatalk.git] / etc / afpd / catsearch.c
index 68d28664f822c374868020af23fcf56d13c00c88..ad28c6f668d4f36f539d1884c2bd61d3f83f2351 100644 (file)
@@ -210,7 +210,7 @@ static struct adouble *adl_lkup(struct vol *vol, struct path *path, struct adoub
        if (!isdir && (of = of_findname(path))) {
                adp = of->of_ad;
        } else {
-               ad_init(&ad, vol->v_adouble, vol->v_ad_options);
+               ad_init(&ad, vol);
                adp = &ad;
        }