From 0c1544c4b720084e3cca2f11199b04527a5ef8ae Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 28 Oct 1999 00:18:06 +0000 Subject: [PATCH] (lstat_file): don't set st_mode, it should already be correct git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7250 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/appl/ftp/ftpd/ls.c b/appl/ftp/ftpd/ls.c index 2da9c400b..36984c84e 100644 --- a/appl/ftp/ftpd/ls.c +++ b/appl/ftp/ftpd/ls.c @@ -338,7 +338,6 @@ lstat_file (const char *file, struct stat *sb) if (ret < 0) return ret; - sb->st_mode = S_IFDIR | 0755; if (ino_last == sb->st_ino) ino_counter++; else {