diff options
Diffstat (limited to 'ftpfs/ftpfs.c')
-rw-r--r-- | ftpfs/ftpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c index 492df79e..09c072d1 100644 --- a/ftpfs/ftpfs.c +++ b/ftpfs/ftpfs.c @@ -255,7 +255,7 @@ parse_startup_opt (int key, char *arg, struct argp_state *state) { int h_err; /* Host lookup error. */ error_t err; - char *sep = strchr (ftpfs_remote_fs, '@'); + char *sep = strrchr (ftpfs_remote_fs, '@'); if (sep) /* FTPFS_REMOTE_FS includes a '@', which means that it's in |