Mercurial > pidgin.yaz
changeset 1751:14494564481e
[gaim-migrate @ 1761]
a long december and there's reason to believe
maybe this year will be better than the last
i can't remember the last thing that you said as you were leaving
and the days go by so fast
and it's one more day up in the canyon
and it's one more night in hollywood
if you think that i could be forgiven
wish you would
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 25 Apr 2001 19:42:45 +0000 |
parents | d2eca7a46cfd |
children | d2357b148870 |
files | src/oscar.c |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oscar.c Wed Apr 25 19:15:50 2001 +0000 +++ b/src/oscar.c Wed Apr 25 19:42:45 2001 +0000 @@ -623,7 +623,15 @@ char m[17]; if (c == GDK_INPUT_WRITE) { char buf[BUF_LONG]; - aim_conn_completeconnect(od->sess, pos->conn); + if (aim_conn_completeconnect(od->sess, pos->conn) < 0) { + do_error_dialog("Gaim was unable to get a valid hash for logging into AIM." + " You may be disconnected shortly.", "Login Error"); + gdk_input_remove(pos->inpa); + close(pos->conn->fd); + aim_conn_kill(od->sess, &pos->conn); + g_free(pos); + return; + } g_snprintf(buf, sizeof(buf), "GET http://gaim.sourceforge.net/aim_data.php3?" "offset=%d&len=%d&modname=%s HTTP/1.0\n\n", pos->offset, pos->len, pos->modname ? pos->modname : "");