gvfs r1435 - in trunk: . daemon
- From: otte svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1435 - in trunk: . daemon
- Date: Thu, 28 Feb 2008 21:42:19 +0000 (GMT)
Author: otte
Date: Thu Feb 28 21:42:19 2008
New Revision: 1435
URL: http://svn.gnome.org/viewvc/gvfs?rev=1435&view=rev
Log:
2008-02-28 Benjamin Otte <otte gnome org>
* daemon/gvfsbackendftp.c: (do_mount):
check for errors correctly
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendftp.c
Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c (original)
+++ trunk/daemon/gvfsbackendftp.c Thu Feb 28 21:42:19 2008
@@ -790,7 +790,7 @@
ftp->user = username;
g_free (ftp->password);
ftp->password = password;
- if (ftp_connection_login (conn, username, password, &error))
+ if (ftp_connection_login (conn, username, password, &error) == 0)
break;
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED))
goto fail;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]