* vfs/ftpfs.c (ftpfs_dir_load): Remove redundant call to
`ftpfs_translate_path'.
Этот коммит содержится в:
родитель
dc50393a8f
Коммит
ab02769f31
@ -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>
|
||||
|
||||
* 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)") : "");
|
||||
|
||||
if (cd_first) {
|
||||
char *p;
|
||||
|
||||
p = ftpfs_translate_path (me, super, remote_path);
|
||||
|
||||
if (ftpfs_chdir_internal (me, super, p) != COMPLETE) {
|
||||
g_free (p);
|
||||
if (ftpfs_chdir_internal (me, super, remote_path) != COMPLETE) {
|
||||
ftpfs_errno = ENOENT;
|
||||
print_vfs_message (_("ftpfs: CWD failed."));
|
||||
return -1;
|
||||
}
|
||||
g_free (p);
|
||||
}
|
||||
|
||||
gettimeofday (&dir->timestamp, NULL);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user