X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=etc%2Fafpd%2Fafp_dsi.c;h=22ef5fc7e80caea74524d4997ae0fb0e6447b559;hp=041db2ce7a0b3fa901eface873dc278aa5135277;hb=6ee7ecd6892a1750128dcced1410e76b5e166874;hpb=20806454f8348d631df2c94208febe56b00e0adb diff --git a/etc/afpd/afp_dsi.c b/etc/afpd/afp_dsi.c index 041db2ce..22ef5fc7 100644 --- a/etc/afpd/afp_dsi.c +++ b/etc/afpd/afp_dsi.c @@ -1,5 +1,5 @@ /* - * $Id: afp_dsi.c,v 1.49 2010-01-18 12:55:28 franklahm Exp $ + * $Id: afp_dsi.c,v 1.49.2.1 2010-02-01 10:56:08 franklahm Exp $ * * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu) * Copyright (c) 1990,1993 Regents of The University of Michigan. @@ -37,6 +37,7 @@ #include "switch.h" #include "auth.h" #include "fork.h" +#include "dircache.h" #ifdef FORCE_UIDGID #warning UIDGID @@ -337,6 +338,9 @@ void afp_over_dsi(AFPObj *obj) } #endif /* DEBUGGING */ + if (dircache_init(0) != 0) + afp_dsi_die(EXITERR_SYS); + /* get stuck here until the end */ while ((cmd = dsi_receive(dsi))) { child.tickle = 0;