Mercurial > pidgin
comparison src/protocols/irc/irc.c @ 3619:a19850d6e718
[gaim-migrate @ 3733]
Oh ho ho!!!
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 09 Oct 2002 06:28:55 +0000 |
parents | 6b12659dfd70 |
children | 2ef75915a13c |
comparison
equal
deleted
inserted
replaced
3618:6b12659dfd70 | 3619:a19850d6e718 |
---|---|
1436 irc_write(idata->fd, buf, strlen(buf)); | 1436 irc_write(idata->fd, buf, strlen(buf)); |
1437 | 1437 |
1438 if (idata->rxqueue) | 1438 if (idata->rxqueue) |
1439 g_free(idata->rxqueue); | 1439 g_free(idata->rxqueue); |
1440 | 1440 |
1441 idata->rxqueue = NULL; | |
1442 idata->rxlen = 0; | |
1443 | |
1441 /* Kill any existing transfers */ | 1444 /* Kill any existing transfers */ |
1442 while (idata->file_transfers) { | 1445 while (idata->file_transfers) { |
1443 struct irc_file_transfer *ift = (struct irc_file_transfer *)idata->file_transfers->data; | 1446 struct irc_file_transfer *ift = (struct irc_file_transfer *)idata->file_transfers->data; |
1444 | 1447 |
1445 g_free(ift->sn); | 1448 g_free(ift->sn); |
1448 | 1451 |
1449 close(ift->fd); | 1452 close(ift->fd); |
1450 | 1453 |
1451 idata->file_transfers = idata->file_transfers->next; | 1454 idata->file_transfers = idata->file_transfers->next; |
1452 } | 1455 } |
1453 | 1456 idata->file_transfers = NULL; |
1454 idata->rxqueue = NULL; | 1457 |
1455 idata->rxlen = 0; | |
1456 | 1458 |
1457 g_free(idata->chantypes); | 1459 g_free(idata->chantypes); |
1458 g_free(idata->chanmodes); | 1460 g_free(idata->chanmodes); |
1459 g_free(idata->nickmodes); | 1461 g_free(idata->nickmodes); |
1460 | 1462 |