* utilvfs.c(vfs_split_url): Add support for '@' in username.

This commit is contained in:
Andrew V. Samoilov 2004-10-05 14:23:20 +00:00
parent 220cf56f19
commit d0aeb947b4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-05 Miroslav Rudisin <miero+gnu@atrey.karlin.mff.cuni.cz>
* utilvfs.c(vfs_split_url): Add support for '@' in username.
2004-09-27 Andrew V. Samoilov <sav@bcs.zp.ua>
* smbfs.c (smbfs_forget): Check smbfs_connections[i].cli

View File

@ -70,7 +70,7 @@ vfs_split_url (const char *path, char **host, char **user, int *port,
}
/* search for any possible user */
at = strchr (pcopy, '@');
at = strrchr (pcopy, '@');
/* We have a username */
if (at) {