comparison src/protocols/jabber/jabber.c @ 4634:d19872836812

[gaim-migrate @ 4941] This will let you set up different proxy settings for different accounts. Mainly useful to the corporate users that need to connect to an internal jabber server, and still want to connect to "external" stuff through a proxy, or something along those lines. I'm sure someone will come up with another use for it. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 02 Mar 2003 18:48:02 +0000
parents 5fcb44d771d2
children 3145c5c45877
comparison
equal deleted inserted replaced
4633:812148fb2e2f 4634:d19872836812
816 gjc->parser = XML_ParserCreate(NULL); 816 gjc->parser = XML_ParserCreate(NULL);
817 XML_SetUserData(gjc->parser, (void *)gjc); 817 XML_SetUserData(gjc->parser, (void *)gjc);
818 XML_SetElementHandler(gjc->parser, startElement, endElement); 818 XML_SetElementHandler(gjc->parser, startElement, endElement);
819 XML_SetCharacterDataHandler(gjc->parser, charData); 819 XML_SetCharacterDataHandler(gjc->parser, charData);
820 820
821 rc = proxy_connect(server, port, gjab_connected, GJ_GC(gjc)); 821 rc = proxy_connect(account, server, port, gjab_connected, GJ_GC(gjc));
822 if (!account->gc || (rc != 0)) { 822 if (!account->gc || (rc != 0)) {
823 STATE_EVT(JCONN_STATE_OFF) 823 STATE_EVT(JCONN_STATE_OFF)
824 return; 824 return;
825 } 825 }
826 } 826 }