]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
cleanup
[wxWidgets.git] / src / common / http.cpp
index 82c5fc065b8a33e5fdbbd1591fe8f1807616ae41..66257f4dd5777e2326568e0eaf4637fe08bae427 100644 (file)
@@ -430,7 +430,7 @@ protected:
 
 size_t wxHTTPStream::OnSysRead(void *buffer, size_t bufsize)
 {
-    if (m_httpsize > 0 && m_read_bytes >= m_httpsize)
+    if (m_read_bytes >= m_httpsize)
     {
         m_lasterror = wxSTREAM_EOF;
         return 0;