209 |
} |
} |
210 |
|
|
211 |
/* |
/* |
212 |
* weechat_convert_encoding: convert string to another encoding |
* weechat_iconv: convert string to another charset |
213 |
*/ |
*/ |
214 |
|
|
215 |
char * |
char * |
216 |
weechat_convert_encoding (char *from_code, char *to_code, char *string) |
weechat_iconv (char *from_code, char *to_code, char *string) |
217 |
{ |
{ |
218 |
char *outbuf; |
char *outbuf; |
219 |
|
|
584 |
server_tmp.ipv6, server_tmp.ssl, |
server_tmp.ipv6, server_tmp.ssl, |
585 |
server_tmp.password, server_tmp.nick1, |
server_tmp.password, server_tmp.nick1, |
586 |
server_tmp.nick2, server_tmp.nick3, |
server_tmp.nick2, server_tmp.nick3, |
587 |
NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL)) |
NULL, NULL, NULL, 0, server_tmp.autojoin, 1, NULL, |
588 |
|
NULL, NULL, NULL)) |
589 |
fprintf (stderr, _("%s unable to create server ('%s'), ignored\n"), |
fprintf (stderr, _("%s unable to create server ('%s'), ignored\n"), |
590 |
WEECHAT_WARNING, argv[i]); |
WEECHAT_WARNING, argv[i]); |
591 |
server_destroy (&server_tmp); |
server_destroy (&server_tmp); |