comparison libpurple/protocols/msn/soap.c @ 23521:a0e957b7b923

Take care of more cleanup in the MSN code. No more C++ style comments. msn_convert_iso8601 was replaced with purple_str_to_time everywhere, so remove it. REM and SYN were removed in MSNP13. REA was removed in MSNP11. PRP and BLP were added already, so remove the TODO. Contact information is now taken from the contact server, so remove all that commented code from the ADL command.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 12 Jul 2008 06:44:19 +0000
parents 711773577380
children 860e5e210fc9
comparison
equal deleted inserted replaced
23520:9acfa387c0a2 23521:a0e957b7b923
286 return an error, so we want to proceed anyway. See #5212 for 286 return an error, so we want to proceed anyway. See #5212 for
287 discussion on this and the above buffer size issues */ 287 discussion on this and the above buffer size issues */
288 if(cnt < 0 && errno == EAGAIN && count == 0) 288 if(cnt < 0 && errno == EAGAIN && count == 0)
289 return; 289 return;
290 290
291 // msn_soap_process could alter errno 291 /* msn_soap_process could alter errno */
292 perrno = errno; 292 perrno = errno;
293 msn_soap_process(conn); 293 msn_soap_process(conn);
294 294
295 if (cnt < 0 && perrno != EAGAIN) { 295 if (cnt < 0 && perrno != EAGAIN) {
296 purple_debug_info("soap", "read: %s\n", g_strerror(perrno)); 296 purple_debug_info("soap", "read: %s\n", g_strerror(perrno));
297 // It's possible msn_soap_process closed the ssl connection 297 /* It's possible msn_soap_process closed the ssl connection */
298 if (conn->ssl) { 298 if (conn->ssl) {
299 purple_ssl_close(conn->ssl); 299 purple_ssl_close(conn->ssl);
300 conn->ssl = NULL; 300 conn->ssl = NULL;
301 msn_soap_connection_handle_next(conn); 301 msn_soap_connection_handle_next(conn);
302 } 302 }