Mercurial > pidgin
comparison src/oscar.c @ 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 | 0763e0d4addd |
children | 1e0613d9526b |
comparison
equal
deleted
inserted
replaced
1750:d2eca7a46cfd | 1751:14494564481e |
---|---|
621 char in = '\0'; | 621 char in = '\0'; |
622 int x = 0; | 622 int x = 0; |
623 char m[17]; | 623 char m[17]; |
624 if (c == GDK_INPUT_WRITE) { | 624 if (c == GDK_INPUT_WRITE) { |
625 char buf[BUF_LONG]; | 625 char buf[BUF_LONG]; |
626 aim_conn_completeconnect(od->sess, pos->conn); | 626 if (aim_conn_completeconnect(od->sess, pos->conn) < 0) { |
627 do_error_dialog("Gaim was unable to get a valid hash for logging into AIM." | |
628 " You may be disconnected shortly.", "Login Error"); | |
629 gdk_input_remove(pos->inpa); | |
630 close(pos->conn->fd); | |
631 aim_conn_kill(od->sess, &pos->conn); | |
632 g_free(pos); | |
633 return; | |
634 } | |
627 g_snprintf(buf, sizeof(buf), "GET http://gaim.sourceforge.net/aim_data.php3?" | 635 g_snprintf(buf, sizeof(buf), "GET http://gaim.sourceforge.net/aim_data.php3?" |
628 "offset=%d&len=%d&modname=%s HTTP/1.0\n\n", | 636 "offset=%d&len=%d&modname=%s HTTP/1.0\n\n", |
629 pos->offset, pos->len, pos->modname ? pos->modname : ""); | 637 pos->offset, pos->len, pos->modname ? pos->modname : ""); |
630 write(pos->conn->fd, buf, strlen(buf)); | 638 write(pos->conn->fd, buf, strlen(buf)); |
631 if (pos->modname) | 639 if (pos->modname) |