mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
* src/mod_irc/iconv_erl.c (iconv_erl_control): Bugfix
SVN Revision: 119
This commit is contained in:
parent
8bee1ad5a6
commit
c5bfac85a6
@ -1,3 +1,7 @@
|
|||||||
|
2003-07-03 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/mod_irc/iconv_erl.c (iconv_erl_control): Bugfix
|
||||||
|
|
||||||
2003-06-30 Alexey Shchepin <alexey@sevcom.net>
|
2003-06-30 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
* src/mod_muc/mod_muc_room.erl: Fixed room destroying
|
* src/mod_muc/mod_muc_room.erl: Fixed room destroying
|
||||||
|
@ -56,18 +56,15 @@ static int iconv_erl_control(ErlDrvData drv_data,
|
|||||||
ei_decode_string(buf, &index, string);
|
ei_decode_string(buf, &index, string);
|
||||||
|
|
||||||
cd = iconv_open(to, from);
|
cd = iconv_open(to, from);
|
||||||
// TODO: check result
|
|
||||||
/*
|
|
||||||
if(cd == (iconv_t) -1)
|
if(cd == (iconv_t) -1)
|
||||||
{
|
{
|
||||||
perror ("iconv_open");
|
cd = iconv_open("ascii", "ascii");
|
||||||
}
|
if(cd == (iconv_t) -1)
|
||||||
else
|
|
||||||
{
|
{
|
||||||
printf("iconv_open from=%s, to=%s OK\r\n", from, to);
|
cd = iconv_open("ascii", "ascii");
|
||||||
printf("string=%s size=%d\r\n", string, size);
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
outleft = avail = 4*size;
|
outleft = avail = 4*size;
|
||||||
inleft = size;
|
inleft = size;
|
||||||
|
Loading…
Reference in New Issue
Block a user