X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2Fadv1tov2%2Fadv1tov2.c;h=ea3b010d4360ae9de74851db5a1db97f526be3c2;hb=728e143736a502a3fa1a6f46b38b56b631edffea;hp=f68e42af3492c7f62d287f1c7c19799a05064a12;hpb=ec544346ab97a5e282c29b23f8566341c03f81e0;p=netatalk.git diff --git a/bin/adv1tov2/adv1tov2.c b/bin/adv1tov2/adv1tov2.c index f68e42af..ea3b010d 100644 --- a/bin/adv1tov2/adv1tov2.c +++ b/bin/adv1tov2/adv1tov2.c @@ -1,5 +1,5 @@ /* - * $Id: adv1tov2.c,v 1.3.14.3 2004-08-23 22:20:07 bfernhomberg Exp $ + * $Id: adv1tov2.c,v 1.3.14.3.2.1 2005-02-10 01:23:05 didg Exp $ * v1tov2: given a root directory, run down and convert all the * files/directories into appledouble v2. */ @@ -85,7 +85,7 @@ void descend(DIR *dp) int flags; static int count = 0; - ad_init(&ad, AD_VERSION2); + ad_init(&ad, AD_VERSION2, 0); if (count++ > MAXDESCEND) { fprintf(stderr, "FAILURE: too many subdirectories! possible infinite recursion."); return; @@ -128,7 +128,7 @@ int main(int argc, char **argv) DIR *dp; struct adouble ad; - ad_init(&ad, AD_VERSION2); + ad_init(&ad, AD_VERSION2, 0); if (argc != 2) { fprintf(stderr, "%s \n", *argv); return -1;