summaryrefslogtreecommitdiff
path: root/daemon/gvfsftptask.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gvfsftptask.c')
-rw-r--r--daemon/gvfsftptask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsftptask.c b/daemon/gvfsftptask.c
index 4c46c0ce..72e2cd6a 100644
--- a/daemon/gvfsftptask.c
+++ b/daemon/gvfsftptask.c
@@ -764,7 +764,7 @@ g_vfs_ftp_task_setup_data_connection_epsv (GVfsFtpTask *task, GVfsFtpMethod meth
status = g_vfs_ftp_task_send_and_check (task, G_VFS_FTP_PASS_500, NULL, NULL, &reply, "EPSV");
if (G_VFS_FTP_RESPONSE_GROUP (status) != 2)
- goto fail;
+ return G_VFS_FTP_METHOD_ANY;
/* FIXME: parse multiple lines? */
s = strrchr (reply[0], '(');