mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
Ticket #2821: Fixed defect: ftp to a second site does not work
Steps to reproduce: * cd ftp://ftp.gnome.org/ * Run "cd" in the panel where the remote site is open * cd ftp://ftp.kernel.org/ Actual result: The directory content from ftp.gnome.org FTP-server. Expected results: The directory content from kernel.org FTP-server. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
dca2d82cd9
commit
15a9a74040
@ -1087,6 +1087,8 @@ vfs_get_super_by_vpath (const vfs_path_t * vpath)
|
||||
goto ret;
|
||||
if (i != 0)
|
||||
break;
|
||||
|
||||
super = NULL;
|
||||
}
|
||||
|
||||
ret:
|
||||
@ -1118,7 +1120,7 @@ vfs_s_get_path (const vfs_path_t * vpath, struct vfs_s_super **archive, int flag
|
||||
if (path_element->path != NULL)
|
||||
retval = path_element->path;
|
||||
|
||||
super = vfs_get_super_by_vpath(vpath);
|
||||
super = vfs_get_super_by_vpath (vpath);
|
||||
if (super != NULL)
|
||||
goto return_success;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user