summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-08 21:53:07 +0200
committerBenjamin Otte <otte@gnome.org>2009-06-11 10:05:41 +0200
commit1b49b7c775bfadbea13651c7406e8b12dfb42ad1 (patch)
treee3f2359c84f852300347485ec67556a2c39dccc3
parente3288d2f30f592695f3df30b60f21d37f5a64e8a (diff)
downloadgvfs-1b49b7c775bfadbea13651c7406e8b12dfb42ad1.tar.gz
[FTP] fix EISDIR function
I'm not sure why the function claimed 550 answers to CWD commands would indicate that the path is a directory, but /dev/null certainly is not a directory.
-rw-r--r--daemon/gvfsbackendftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index 63bb7d0c..b63a66a6 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -583,7 +583,7 @@ static void
error_550_is_directory (GVfsFtpTask *task, gpointer file)
{
if (g_vfs_ftp_task_send (task,
- G_VFS_FTP_PASS_550,
+ 0,
"CWD %s", g_vfs_ftp_file_get_ftp_path (file)))
{
g_set_error_literal (&task->error, G_IO_ERROR,