summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wulff <crwulff@rochester.rr.com>2011-08-29 16:08:04 +0200
committerTomas Bzatek <tbzatek@redhat.com>2011-08-29 16:08:04 +0200
commita94b84592163bc727ba15467d0fdf3ca7782f334 (patch)
tree6309ed7a95b64c54b56af4e2a4d6740e0b5c609d
parent9dcde52c3e6b8164180cfe8a60896b6d5e1e8c97 (diff)
downloadgvfs-a94b84592163bc727ba15467d0fdf3ca7782f334.tar.gz
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
-rw-r--r--daemon/gvfsbackendftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index f8514a30..35e0b718 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 ();