diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-08 21:53:07 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-06-11 10:05:41 +0200 |
commit | 1b49b7c775bfadbea13651c7406e8b12dfb42ad1 (patch) | |
tree | e3f2359c84f852300347485ec67556a2c39dccc3 | |
parent | e3288d2f30f592695f3df30b60f21d37f5a64e8a (diff) | |
download | gvfs-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.c | 2 |
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, |