remove some excess punctuation, eg. if( ( x == y ) )

This commit is contained in:
Glenn Maynard
2004-11-26 20:49:18 +00:00
parent 9c2d06e150
commit 5383707e3b
+3 -4
View File
@@ -636,11 +636,10 @@ void ScreenPackages::HTTPUpdate()
{
m_iDownloaded = m_sBUFFER.length();
}
if ( ( ( m_iTotalBytes <= m_iDownloaded ) && ( m_iTotalBytes != -1 ) ) ||
if ( ( m_iTotalBytes <= m_iDownloaded && m_iTotalBytes != -1 ) ||
//We have the full doc. (And we knew how big it was)
( ( m_iTotalBytes == -1 ) &&
( ( m_wSocket.state == 8 ) ||
( m_wSocket.state == 0 ) ) ) )
( m_iTotalBytes == -1 &&
( m_wSocket.state == 8 || m_wSocket.state == 0 ) ) )
//XXX: Work around; these should use enumerated types.
//We didn't know how big it was, and were disconnected
//So that means we have it all.