diff --git a/src/vfs/fish/fish.c b/src/vfs/fish/fish.c index bcde4f7db..8dfe4bb9d 100644 --- a/src/vfs/fish/fish.c +++ b/src/vfs/fish/fish.c @@ -1521,8 +1521,9 @@ fish_fill_names (struct vfs_class *me, fill_names_f func) } name = - g_strconcat ("/#sh:", super->path_element->user, "@", super->path_element->host, flags, - "/", super->path_element->path, (char *) NULL); + g_strconcat (vfs_fish_ops.prefix, VFS_PATH_URL_DELIMITER, + super->path_element->user, "@", super->path_element->host, flags, "/", + super->path_element->path, (char *) NULL); func (name); g_free (name); } diff --git a/src/vfs/ftpfs/ftpfs.c b/src/vfs/ftpfs/ftpfs.c index 88c5ce78a..618632367 100644 --- a/src/vfs/ftpfs/ftpfs.c +++ b/src/vfs/ftpfs/ftpfs.c @@ -2215,8 +2215,9 @@ ftpfs_fill_names (struct vfs_class *me, fill_names_f func) char *name; name = - g_strconcat ("/#ftp:", super->path_element->user, "@", super->path_element->host, "/", - super->path_element->path, (char *) NULL); + g_strconcat (vfs_ftpfs_ops.prefix, VFS_PATH_URL_DELIMITER, super->path_element->user, + "@", super->path_element->host, "/", super->path_element->path, + (char *) NULL); func (name); g_free (name); } diff --git a/src/vfs/smbfs/smbfs.c b/src/vfs/smbfs/smbfs.c index b562d5bab..3e0589b43 100644 --- a/src/vfs/smbfs/smbfs.c +++ b/src/vfs/smbfs/smbfs.c @@ -119,7 +119,7 @@ typedef struct /*** file scope variables ************************************************************************/ static const char *const IPC = "IPC$"; -static const char *const URL_HEADER = "/#smb:"; +static const char *const URL_HEADER = "smb" VFS_PATH_URL_DELIMITER; static int my_errno; static uint32 err;