Mercurial > pidgin
comparison libpurple/protocols/msn/nexus.c @ 21100:29d8c86c14cd
propagate from branch 'im.pidgin.pidgin' (head cd2be742f6c45c200000003fc5a6341297bbe857)
to branch 'im.pidgin.cpw.khc.msnp14.soap' (head 1d7d51174ae87c7f03bb1290a8e447bf2a1704a5)
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Thu, 04 Oct 2007 06:13:01 +0000 |
parents | 10d27a4be2fd 48ee7ec3426d |
children | f387e8c671a4 e64e6fbd1351 |
comparison
equal
deleted
inserted
replaced
20537:c49b886231d5 | 21100:29d8c86c14cd |
---|---|
172 msn_session_set_error(session, MSN_ERROR_AUTH, _("Windows Live ID authentication Failed")); | 172 msn_session_set_error(session, MSN_ERROR_AUTH, _("Windows Live ID authentication Failed")); |
173 g_free(username); | 173 g_free(username); |
174 g_free(password); | 174 g_free(password); |
175 msn_nexus_destroy(nexus); | 175 msn_nexus_destroy(nexus); |
176 session->nexus = NULL; | 176 session->nexus = NULL; |
177 return; | 177 return FALSE; |
178 } | 178 } |
179 | 179 |
180 /* | 180 /* |
181 * in old MSN NS server's "USR TWN S" return,didn't include fs string | 181 * in old MSN NS server's "USR TWN S" return,didn't include fs string |
182 * so we use a default "1" for fs. | 182 * so we use a default "1" for fs. |
215 | 215 |
216 soap = msn_soap_message_new(NULL, xmlnode_from_str(tail, -1)); | 216 soap = msn_soap_message_new(NULL, xmlnode_from_str(tail, -1)); |
217 msn_soap_message_send(nexus->session, soap, MSN_TWN_SERVER, TWN_POST_URL, | 217 msn_soap_message_send(nexus->session, soap, MSN_TWN_SERVER, TWN_POST_URL, |
218 nexus_got_response_cb, nexus); | 218 nexus_got_response_cb, nexus); |
219 | 219 |
220 return; | 220 return TRUE; |
221 } | 221 } |
222 | 222 |