Use the given name, not the absolute pathname, when printing out ACL info.
authorJeremy Allison <jra@samba.org>
Fri, 12 Sep 2008 00:32:14 +0000 (17:32 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 12 Sep 2008 00:32:14 +0000 (17:32 -0700)
Make this match the non-ACL case.
Jeremy.
(This used to be commit e695c1cc2b715afd713595e8daa77910d9f04138)

source3/client/client.c

index 38da525db701adc3a1639ebcf91e47287573f653..1c05c4035d1ae00dc211b6cf34fbc7e9c7766707 100644 (file)
@@ -528,7 +528,7 @@ static void display_finfo(file_info *finfo, const char *dir)
                        return;
                }
                /* print file meta date header */
-               d_printf( "FILENAME:%s\n", afname);
+               d_printf( "FILENAME:%s\n", finfo->name);
                d_printf( "MODE:%s\n", attrib_string(finfo->mode));
                d_printf( "SIZE:%.0f\n", (double)finfo->size);
                d_printf( "MTIME:%s", time_to_asc(t));