From: Siddhesh P. <sid...@us...> - 2009-03-08 18:42:39
|
Update of /cvsroot/ayttm/ayttm/modules/jabber/libjabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12650/modules/jabber/libjabber Modified Files: jconn.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: jconn.c =================================================================== RCS file: /cvsroot/ayttm/ayttm/modules/jabber/libjabber/jconn.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- jconn.c 22 Oct 2005 20:05:13 -0000 1.9 +++ jconn.c 8 Mar 2009 18:42:31 -0000 1.10 @@ -140,7 +140,7 @@ if (!j->serv || !strlen(j->serv)) j->serv = j->user->server; - if ((tag = proxy_connect_host(j->serv, port, + if ((tag = ay_connect_host(j->serv, port, (ay_socket_callback)jab_continue, j, NULL)) < 0) { STATE_EVT(JCONN_STATE_OFF); return 0; |