Mercurial > pidgin
diff libpurple/protocols/msn/soap.c @ 24808:98bbeed2481c
a patch from eperez that corrects EOF detection, Fixes #7726
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Thu, 18 Dec 2008 07:25:37 +0000 |
parents | 39289fd7e67f |
children | 222265ec3044 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap.c Thu Dec 18 06:28:36 2008 +0000 +++ b/libpurple/protocols/msn/soap.c Thu Dec 18 07:25:37 2008 +0000 @@ -521,7 +521,7 @@ /* msn_soap_process could alter errno */ msn_soap_process(conn); - if (cnt < 0 && perrno != EAGAIN) { + if (cnt < 0 && perrno != EAGAIN || cnt == 0) { /* It's possible msn_soap_process closed the ssl connection */ if (conn->ssl) { purple_ssl_close(conn->ssl);