]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/enumerate.c
Fix data corruption bug
[netatalk.git] / etc / afpd / enumerate.c
index f77d34a522a91ce702ff80599540791684586548..d469928c357b465a5781d2f5f51c9aad51fb8a2e 100644 (file)
@@ -404,7 +404,7 @@ static int enumerate(AFPObj *obj _U_, char *ibuf, size_t ibuflen _U_,
             }
             /* files are added to the dircache in getfilparams() -> getmetadata() */
             if (AFP_OK != ( ret = getfilparams(obj, vol, fbitmap, &s_path, curdir, 
-                                               data + header , &esz )) ) {
+                                               data + header, &esz, 1)) ) {
                 return( ret );
             }
         }