comparison src/protocols/msn/msn.c @ 2265:2f03cfd21fc2

[gaim-migrate @ 2275] better notification committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 10 Sep 2001 23:23:54 +0000
parents 8c4ff1a368bd
children 0b5c3338fa3d
comparison
equal deleted inserted replaced
2264:2993b6091a53 2265:2f03cfd21fc2
547 struct gaim_connection *gc = ms->gc; 547 struct gaim_connection *gc = ms->gc;
548 char buf[MSN_BUF_LEN]; 548 char buf[MSN_BUF_LEN];
549 549
550 if (source == -1 || !g_slist_find(connections, gc)) { 550 if (source == -1 || !g_slist_find(connections, gc)) {
551 close(source); 551 close(source);
552 g_free(ms->auth); 552 if (g_slist_find(connections, gc)) {
553 g_free(ms); 553 msn_kill_switch(ms);
554 do_error_dialog(_("MSN Error"), _("Gaim was unable to send a message"));
555 }
554 return; 556 return;
555 } 557 }
556 558
557 if (ms->fd != source) 559 if (ms->fd != source)
558 ms->fd = source; 560 ms->fd = source;