changeset 921:b099517df21a

2007-5-4 Brian Masney <masneyb@gftp.org> * lib/protocols.c (_do_convert_string) - added two missing continue statements. This fixes a problem converting the string to a different character set. (from Shixin Zeng) (partially closes #156371)
author masneyb
date Fri, 04 May 2007 11:22:45 +0000
parents 340d9398e01f
children c127065adc06
files ChangeLog lib/protocols.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 27 19:07:47 2007 +0000
+++ b/ChangeLog	Fri May 04 11:22:45 2007 +0000
@@ -1,3 +1,8 @@
+2007-5-4 Brian Masney <masneyb@gftp.org>
+	* lib/protocols.c (_do_convert_string) - added two missing continue
+	statements. This fixes a problem converting the string to a different
+	character set. (from Shixin Zeng) (partially closes #156371)
+
 2007-4-26 Brian Masney <masneyb@gftp.org>
 	* src/uicommon/gftpui.c (_gftpui_common_trans_file_or_dir) - don't
 	attempt to create the directory if it already exists.
--- a/lib/protocols.c	Fri Apr 27 19:07:47 2007 +0000
+++ b/lib/protocols.c	Fri May 04 11:22:45 2007 +0000
@@ -559,6 +559,7 @@
               request->iconv_from = NULL;
               _do_show_iconv_error (str, cur_charset, from_utf8, error);
               g_free (cur_charset);
+              continue;
             }
 
           request->iconv_from_initialized = 1;
@@ -581,6 +582,7 @@
               request->iconv_to = NULL;
               _do_show_iconv_error (str, cur_charset, from_utf8, error);
               g_free (cur_charset);
+              continue;
             }
 
           request->iconv_to_initialized = 1;