changeset 24824:222265ec3044

I'm guessing this is what was intended here? Fixes this warning: soap.c: In function ¡Æmsn_soap_read_cb¡Ç: soap.c:524: warning: suggest parentheses around && within ||
author Mark Doliner <mark@kingant.net>
date Thu, 18 Dec 2008 10:05:58 +0000
parents 484ce20cd6cc
children 85c6d7eb690c
files libpurple/protocols/msn/soap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/soap.c	Thu Dec 18 10:01:10 2008 +0000
+++ b/libpurple/protocols/msn/soap.c	Thu Dec 18 10:05:58 2008 +0000
@@ -521,7 +521,7 @@
 	/* msn_soap_process could alter errno */
 	msn_soap_process(conn);
 
-	if (cnt < 0 && perrno != EAGAIN || cnt == 0) {
+	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);