Mercurial > gftp.yaz
changeset 992:9c583f570950 default tip
more character set conversion on remote file names.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 15 Sep 2010 11:42:57 +0900 |
parents | b884506e569c |
children | |
files | lib/protocols.c lib/rfc959.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/protocols.c Thu Feb 04 18:02:06 2010 +0900 +++ b/lib/protocols.c Wed Sep 15 11:42:57 2010 +0900 @@ -464,7 +464,7 @@ fle->filename_utf8_encoded = 1; else { - utf8 = gftp_filename_to_utf8 (request, fle->file, &destlen); + utf8 = gftp_remote_filename_to_utf8 (request, fle->file, &destlen); if (utf8 != NULL) { g_free (fle->file);
--- a/lib/rfc959.c Thu Feb 04 18:02:06 2010 +0900 +++ b/lib/rfc959.c Wed Sep 15 11:42:57 2010 +0900 @@ -418,7 +418,7 @@ if (request->directory) g_free (request->directory); - utf8 = gftp_filename_to_utf8 (request, dir, &destlen); + utf8 = gftp_remote_filename_to_utf8 (request, dir, &destlen); if (utf8 != NULL) request->directory = utf8; else