# HG changeset patch # User Eric Warmenhoven # Date 988227765 0 # Node ID 14494564481e3b236007b8579f4ab9519e2c4c82 # Parent d2eca7a46cfd85b0548446350259f9323510fb33 [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 diff -r d2eca7a46cfd -r 14494564481e src/oscar.c --- 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 : "");