From: Christian H. <ch...@us...> - 2003-10-15 06:32:17
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv25771/src/protocols/jabber Modified Files: jabber.c Log Message: Added a parameter to gaim_ssl_connect() to specify an optional error callback. MSN takes advantage of it, but since I can't reproduce the errors here, I'm not positive it works. It should though! Famous last words. Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.203 retrieving revision 1.204 diff -u -d -p -r1.203 -r1.204 --- jabber.c 14 Oct 2003 17:12:17 -0000 1.203 +++ jabber.c 15 Oct 2003 06:32:13 -0000 1.204 @@ -337,7 +337,7 @@ static void tls_init(JabberStream *js) gaim_input_remove(js->gc->inpa); js->gc->inpa = 0; js->gsc = gaim_ssl_connect_fd(js->gc->account, js->fd, - jabber_login_callback_ssl, js->gc); + jabber_login_callback_ssl, NULL, js->gc); } static void @@ -382,7 +382,7 @@ jabber_login(GaimAccount *account) && gaim_ssl_is_supported()) { js->gsc = gaim_ssl_connect(account, server, gaim_account_get_int(account, "port", 5222), - jabber_login_callback_ssl, gc); + jabber_login_callback_ssl, NULL, gc); } if(!js->gsc) { @@ -670,7 +670,7 @@ static void jabber_register_account(Gaim && gaim_ssl_is_supported()) { js->gsc = gaim_ssl_connect(account, server, gaim_account_get_int(account, "port", 5222), - jabber_login_callback_ssl, gc); + jabber_login_callback_ssl, NULL, gc); } if(!js->gsc) { |