comparison src/protocols/irc/irc.c @ 4223:fc909686bbc1

[gaim-migrate @ 4467] Nicola's Lichtmaier (niqueco) also patched a leak committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 07 Jan 2003 14:29:34 +0000
parents 9e2336d5bdee
children cd84b0fd63fc
comparison
equal deleted inserted replaced
4222:7baedb6f5c34 4223:fc909686bbc1
1639 debug_printf("Couldn't initialize %s for IRC charset conversion, using ISO-8859-1\n", 1639 debug_printf("Couldn't initialize %s for IRC charset conversion, using ISO-8859-1\n",
1640 gc->user->proto_opt[USEROPT_CHARSET]); 1640 gc->user->proto_opt[USEROPT_CHARSET]);
1641 strcpy(gc->user->proto_opt[USEROPT_CHARSET], "ISO-8859-1"); 1641 strcpy(gc->user->proto_opt[USEROPT_CHARSET], "ISO-8859-1");
1642 } 1642 }
1643 1643
1644 g_free(test);
1645
1644 if (idata->fd != source) 1646 if (idata->fd != source)
1645 idata->fd = source; 1647 idata->fd = source;
1646 1648
1647 gethostname(hostname, sizeof(hostname) - 1); 1649 gethostname(hostname, sizeof(hostname) - 1);
1648 hostname[sizeof(hostname) - 1] = 0; 1650 hostname[sizeof(hostname) - 1] = 0;