/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1238 by matthewc, Wed Jun 14 08:59:03 2006 UTC revision 1308 by stargo, Wed Nov 1 18:38:40 2006 UTC
# Line 183  rdp_out_unistr(STREAM s, char *string, i Line 183  rdp_out_unistr(STREAM s, char *string, i
183                          size_t i = 1, o = 4;                          size_t i = 1, o = 4;
184                          if ((iconv_h = iconv_open(WINDOWS_CODEPAGE, g_codepage)) == (iconv_t) - 1)                          if ((iconv_h = iconv_open(WINDOWS_CODEPAGE, g_codepage)) == (iconv_t) - 1)
185                          {                          {
186                                  warning("rdp_out_unistr: iconv_open[%s -> %s] fail %d\n",                                  warning("rdp_out_unistr: iconv_open[%s -> %s] fail %p\n",
187                                          g_codepage, WINDOWS_CODEPAGE, (int) iconv_h);                                          g_codepage, WINDOWS_CODEPAGE, iconv_h);
188    
189                                  g_iconv_works = False;                                  g_iconv_works = False;
190                                  rdp_out_unistr(s, string, len);                                  rdp_out_unistr(s, string, len);
# Line 254  rdp_in_unistr(STREAM s, char *string, in Line 254  rdp_in_unistr(STREAM s, char *string, in
254                  {                  {
255                          if ((iconv_h = iconv_open(g_codepage, WINDOWS_CODEPAGE)) == (iconv_t) - 1)                          if ((iconv_h = iconv_open(g_codepage, WINDOWS_CODEPAGE)) == (iconv_t) - 1)
256                          {                          {
257                                  warning("rdp_in_unistr: iconv_open[%s -> %s] fail %d\n",                                  warning("rdp_in_unistr: iconv_open[%s -> %s] fail %p\n",
258                                          WINDOWS_CODEPAGE, g_codepage, (int) iconv_h);                                          WINDOWS_CODEPAGE, g_codepage, iconv_h);
259    
260                                  g_iconv_works = False;                                  g_iconv_works = False;
261                                  return rdp_in_unistr(s, string, uni_len);                                  return rdp_in_unistr(s, string, uni_len);

Legend:
Removed from v.1238  
changed lines
  Added in v.1308

  ViewVC Help
Powered by ViewVC 1.1.26