/[LeafOK_CVS]/lbbs/src/io.c
ViewVC logotype

Diff of /lbbs/src/io.c

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

Revision 1.69 by sysadm, Sat Nov 22 15:51:42 2025 UTC Revision 1.70 by sysadm, Sun Nov 23 01:47:47 2025 UTC
# Line 1136  int io_buf_conv(iconv_t cd, char *p_buf, Line 1136  int io_buf_conv(iconv_t cd, char *p_buf,
1136                          else // something strange                          else // something strange
1137                          {                          {
1138  #ifdef _DEBUG  #ifdef _DEBUG
1139                                  log_error("*p_buf_offset += %d, *p_conv_len = %d, in_bytes=%d, out_bytes=%d, in_buf[0]=%d\n",                                  log_error("iconv(in_bytes=%d, out_bytes=%d) error: %d, in_buf[0]=%d\n",
1140                                                    (int)(in_buf - p_buf), (int)(conv_size - out_bytes), in_bytes, out_bytes, in_buf[0]);                                                    in_bytes, out_bytes, errno, in_buf[0]);
1141  #endif  #endif
1142    
1143                                  *p_buf_offset += (int)(in_buf - p_buf);                                  *p_buf_offset = (int)(in_buf - p_buf);
1144                                  *p_conv_len = (int)(conv_size - out_bytes);                                  *p_conv_len = (int)(conv_size - out_bytes);
1145                                  skip_current = 1;                                  skip_current = 1;
1146    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1