]> arthur.barton.de Git - netatalk.git/commitdiff
One more "oops" fix.
authoritlm019 <itlm019>
Mon, 16 Oct 2000 21:15:27 +0000 (21:15 +0000)
committeritlm019 <itlm019>
Mon, 16 Oct 2000 21:15:27 +0000 (21:15 +0000)
etc/afpd/filedir.c

index c95d7b227aa8cccec0496173ab28701af5d5ed5b..1a475f7c6bf850ef77df02bc9564cc5cfc83eec2 100644 (file)
@@ -593,7 +593,7 @@ int afp_moveandrename(obj, ibuf, ibuflen, rbuf, rbuflen )
          return AFPERR_MISC;
        
        /* fix up the catalog entry */
-       cnid_update(vol->v_db, id, &st, curdir->d_did, upath, strlen(newname));
+       cnid_update(vol->v_db, id, &st, curdir->d_did, upath, strlen(upath));
 #endif      
        setvoltime(obj, vol );
     }