1
1

* vfs/ftpfs.c (ftpfs_dir_load): Remove redundant call to

`ftpfs_translate_path'.
Этот коммит содержится в:
Pavel Tsekov 2006-03-06 15:27:45 +00:00
родитель dc50393a8f
Коммит ab02769f31
2 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2006-03-06 Arpad Gereoffy (A'rpi) <arpi@mplayerhq.hu>
* ftpfs.c (ftpfs_dir_load): Remove redundant call to
`ftpfs_translate_path'.
2006-02-23 Pavel Roskin <proski@gnu.org> 2006-02-23 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add fish.h. * Makefile.am: Add fish.h.

Просмотреть файл

@ -1209,17 +1209,11 @@ ftpfs_dir_load (struct vfs_class *me, struct vfs_s_inode *dir, char *remote_path
cd_first ? _("(chdir first)") : ""); cd_first ? _("(chdir first)") : "");
if (cd_first) { if (cd_first) {
char *p; if (ftpfs_chdir_internal (me, super, remote_path) != COMPLETE) {
p = ftpfs_translate_path (me, super, remote_path);
if (ftpfs_chdir_internal (me, super, p) != COMPLETE) {
g_free (p);
ftpfs_errno = ENOENT; ftpfs_errno = ENOENT;
print_vfs_message (_("ftpfs: CWD failed.")); print_vfs_message (_("ftpfs: CWD failed."));
return -1; return -1;
} }
g_free (p);
} }
gettimeofday (&dir->timestamp, NULL); gettimeofday (&dir->timestamp, NULL);