[gvfs] use FTP_FEATURES_DEFAULT macro



commit e53be4e80e9194ad4917102e243cecec7bd2a665
Author: Andreas Henriksson <andreas fatal se>
Date:   Sun Apr 26 14:03:38 2009 +0200

    use FTP_FEATURES_DEFAULT macro
    
    the previous code was spelling out the default feature instead
---
 daemon/gvfsbackendftp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index d70b489..02e1ac9 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -823,7 +823,7 @@ ftp_connection_use (FtpConnection *conn)
       ftp_connection_parse_features (conn);
     } else {
       ftp_connection_clear_error(conn);
-      conn->features = FTP_FEATURE_EPSV;
+      conn->features = FTP_FEATURES_DEFAULT;
     }
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]