]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/filedir.c
Fixes
[netatalk.git] / etc / afpd / filedir.c
index ebde9655e6ef754816621813d6912eee60b0909c..47b819f95255f09625054b9f0157944144f23649 100644 (file)
@@ -10,9 +10,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
 #include <errno.h>
 #include <sys/param.h>
 
@@ -383,6 +380,7 @@ static int moveandrename(const struct vol *vol,
         u_int16_t bshort;
 
         ad_getattr(adp, &bshort);
+        
         ad_close_metadata( adp);
         if ((bshort & htons(ATTRBIT_NORENAME))) {
             rc = AFPERR_OLOCK;