gvfs r2333 - in trunk: . daemon
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2333 - in trunk: . daemon
- Date: Mon, 16 Mar 2009 14:24:34 +0000 (UTC)
Author: alexl
Date: Mon Mar 16 14:24:33 2009
New Revision: 2333
URL: http://svn.gnome.org/viewvc/gvfs?rev=2333&view=rev
Log:
2009-03-16 Alexander Larsson <alexl redhat com>
Bug 575286 â [PATCH] fix GError overwrite warning when missing delete permission.
* daemon/gvfsbackendftp.c (do_delete):
Clear error before calling set_from_response.
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendftp.c
Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c (original)
+++ trunk/daemon/gvfsbackendftp.c Mon Mar 16 14:24:33 2009
@@ -2427,7 +2427,10 @@
g_strerror (ENOTEMPTY));
}
else
- ftp_connection_set_error_from_response (conn, response);
+ {
+ ftp_connection_clear_error (conn);
+ ftp_connection_set_error_from_response (conn, response);
+ }
}
else if (STATUS_GROUP (response) == 5)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]