diff lib/protocols.c @ 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 936635b76f02
children c127065adc06
line wrap: on
line diff
--- 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;