comparison libpurple/protocols/msn/switchboard.c @ 23549:5c95339855b2

Allow forcing an MSN HTTP connection to connect to a new server. This is important for initial connections that receive an XFR for the NS, since it seems that happens all the time now. Fixes #6107.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 23 Jun 2008 04:10:46 +0000
parents 165546763e3a
children 7e16d193bb57
comparison
equal deleted inserted replaced
23548:165546763e3a 23549:5c95339855b2
1080 g_return_val_if_fail(swboard != NULL, FALSE); 1080 g_return_val_if_fail(swboard != NULL, FALSE);
1081 1081
1082 msn_servconn_set_connect_cb(swboard->servconn, connect_cb); 1082 msn_servconn_set_connect_cb(swboard->servconn, connect_cb);
1083 msn_servconn_set_disconnect_cb(swboard->servconn, disconnect_cb); 1083 msn_servconn_set_disconnect_cb(swboard->servconn, disconnect_cb);
1084 1084
1085 return msn_servconn_connect(swboard->servconn, host, port); 1085 return msn_servconn_connect(swboard->servconn, host, port, FALSE);
1086 } 1086 }
1087 1087
1088 void 1088 void
1089 msn_switchboard_disconnect(MsnSwitchBoard *swboard) 1089 msn_switchboard_disconnect(MsnSwitchBoard *swboard)
1090 { 1090 {