summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/gvfsbackendftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index c2bf7858..b27a5752 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -391,7 +391,7 @@ try_login:
{
ftp->user = username ? g_strdup (username) : g_strdup ("");
ftp->password = g_strdup (password);
- if (g_vfs_ftp_task_login (&task, username, password) != 0)
+ if (g_vfs_ftp_task_login (&task, ftp->user, ftp->password) != 0)
break;
}
g_free (username);