gvfs r2301 - in trunk: . daemon
- From: otte svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2301 - in trunk: . daemon
- Date: Sun, 8 Mar 2009 19:34:22 +0000 (UTC)
Author: otte
Date: Sun Mar 8 19:34:22 2009
New Revision: 2301
URL: http://svn.gnome.org/viewvc/gvfs?rev=2301&view=rev
Log:
2009-03-08 Andreas Henriksson <andreas fatal se>
reviewed by: Benjamin Otte <otte gnome org>
Bug 533219 - anonymous ftp login not working
* daemon/gvfsbackendftp.c: (ftp_connection_login):
replace the empty string with the default password
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendftp.c
Modified: trunk/daemon/gvfsbackendftp.c
==============================================================================
--- trunk/daemon/gvfsbackendftp.c (original)
+++ trunk/daemon/gvfsbackendftp.c Sun Mar 8 19:34:22 2009
@@ -740,7 +740,7 @@
* problems with our client.
* - we don't want to drown in spam.
*/
- if (password == NULL)
+ if (password == NULL || password[0] == 0)
password = "gvfsd-ftp-" VERSION "@example.com";
status = ftp_connection_send (conn, 0,
"PASS %s", password);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]