[gvfs/ftp-reorg] [FTP] fix EISDIR function
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs/ftp-reorg] [FTP] fix EISDIR function
- Date: Mon, 8 Jun 2009 15:54:25 -0400 (EDT)
commit e771112e4c4c6e9a7e055a36e371ec109c89f89f
Author: Benjamin Otte <otte gnome org>
Date: Mon Jun 8 21:53:07 2009 +0200
[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.
---
daemon/gvfsbackendftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index 63bb7d0..b63a66a 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]