[gvfs] ftp: Fix return value of try_get_settable_attributes() on failure
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] ftp: Fix return value of try_get_settable_attributes() on failure
- Date: Mon, 29 Aug 2011 14:11:12 +0000 (UTC)
commit a94b84592163bc727ba15467d0fdf3ca7782f334
Author: Chris Wulff <crwulff rochester rr com>
Date: Mon Aug 29 16:08:04 2011 +0200
ftp: Fix return value of try_get_settable_attributes() on failure
This fixes a crash on failed try_get_settable_attributes() call.
https://bugzilla.gnome.org/show_bug.cgi?id=651729
daemon/gvfsbackendftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index f8514a3..35e0b71 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -1085,7 +1085,7 @@ try_query_settable_attributes (GVfsBackend *backend,
G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED,
_("Operation unsupported"));
- return FALSE;
+ return TRUE;
}
list = g_file_attribute_info_list_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]