[PATCH 1/8] Add UTF8 to feature parsing.
- From: Andreas Henriksson <andreas fatal se>
- To: gvfs-list gnome org
- Cc: Andreas Henriksson <andreas fatal se>, Oliver <oliver joos schweiz org>, Benjamin Otte <otte gnome org>
- Subject: [PATCH 1/8] Add UTF8 to feature parsing.
- Date: Sat, 15 Nov 2008 18:03:42 +0100
---
daemon/gvfsbackendftp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index a07a16e..482ec21 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -96,7 +96,8 @@ typedef enum {
FTP_FEATURE_MDTM = (1 << 0),
FTP_FEATURE_SIZE = (1 << 1),
FTP_FEATURE_TVFS = (1 << 2),
- FTP_FEATURE_EPSV = (1 << 3)
+ FTP_FEATURE_EPSV = (1 << 3),
+ FTP_FEATURE_UTF8 = (1 << 4),
} FtpFeatures;
#define FTP_FEATURES_DEFAULT (FTP_FEATURE_EPSV)
@@ -628,7 +629,8 @@ ftp_connection_parse_features (FtpConnection *conn)
{ "MDTM", FTP_FEATURE_MDTM },
{ "SIZE", FTP_FEATURE_SIZE },
{ "TVFS", FTP_FEATURE_TVFS },
- { "EPSV", FTP_FEATURE_EPSV }
+ { "EPSV", FTP_FEATURE_EPSV },
+ { "UTF8", FTP_FEATURE_UTF8 },
};
char **supported;
guint i, j;
--
1.5.6.5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]