From ef67fa9d618b63d9fd170817cf3f634239b16270 Mon Sep 17 00:00:00 2001 From: "ruslan%netscape.com" Date: Sun, 19 Mar 2000 03:17:58 +0000 Subject: [PATCH] Fix incorrect check in isAlive --- netwerk/base/src/nsSocketTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwerk/base/src/nsSocketTransport.cpp b/netwerk/base/src/nsSocketTransport.cpp index d75febe7b2f..6cc2b95a828 100644 --- a/netwerk/base/src/nsSocketTransport.cpp +++ b/netwerk/base/src/nsSocketTransport.cpp @@ -2089,7 +2089,7 @@ nsSocketTransport::IsAlive (PRUint32 seconds, PRBool *alive) { PRErrorCode code = PR_GetError (); - if (rval == 0 || code == PR_WOULD_BLOCK_ERROR) + if (rval == 0 || code != PR_WOULD_BLOCK_ERROR) *alive = PR_FALSE; } }