comparison src/protocols/irc/irc.c @ 4456:1630b1dca931

[gaim-migrate @ 4731] Whoops. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 Jan 2003 00:25:37 +0000
parents 2afc0f845e74
children 62c1e5e656d0
comparison
equal deleted inserted replaced
4455:c7aae8902e5e 4456:1630b1dca931
1662 return; 1662 return;
1663 } 1663 }
1664 1664
1665 idata = gc->proto_data; 1665 idata = gc->proto_data;
1666 1666
1667 if (source != 1) { 1667 if (source < 0) {
1668 hide_login_progress(gc, "Write error"); 1668 hide_login_progress(gc, "Write error");
1669 signoff(gc); 1669 signoff(gc);
1670 return; 1670 return;
1671 } 1671 }
1672 idata->fd = source; 1672 idata->fd = source;