From: Siddhesh P. <sid...@us...> - 2009-03-08 18:42:39
|
Update of /cvsroot/ayttm/ayttm/modules/aim-oscar In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12650/modules/aim-oscar Modified Files: aim-oscar.c Log Message: * Re-wrote network connectivity code. * Replaced deprecated gethostbyname with getaddrinfo * Multi-threading to avoid hang-ups during proxy connections or hostname look-ups * Removed datagram connection support from SOCKS5 since it was not used and was only getting in the way * Removed unused code Index: aim-oscar.c =================================================================== RCS file: /cvsroot/ayttm/ayttm/modules/aim-oscar/aim-oscar.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- aim-oscar.c 19 Aug 2008 14:38:17 -0000 1.27 +++ aim-oscar.c 8 Mar 2009 18:42:31 -0000 1.28 @@ -1186,7 +1186,7 @@ tstconn->status |= AIM_CONN_STATUS_INPROGRESS; - if (proxy_connect_host (host, port, + if (ay_connect_host (host, port, oscar_chatnav_connect, ela, oscar_chatnav_connect_status) < 0) { aim_conn_kill (sess, &tstconn); @@ -1231,7 +1231,7 @@ ocr->conn->status |= AIM_CONN_STATUS_INPROGRESS; - if (proxy_connect_host (host, port, + if (ay_connect_host (host, port, oscar_chat_connect, ecr, oscar_chatnav_connect_status) < 0) { aim_conn_kill (&(alad->aimsess), &tstconn); @@ -1703,7 +1703,7 @@ alad->conn->status |= AIM_CONN_STATUS_INPROGRESS; - if (proxy_connect_host (FAIM_LOGIN_SERVER, FAIM_LOGIN_PORT, + if (ay_connect_host (FAIM_LOGIN_SERVER, FAIM_LOGIN_PORT, oscar_login_connect, account, oscar_login_connect_status) < 0) { connect_error (alad, "Could not connect to host"); |