http: Cleanup excessive logging.

This commit is contained in:
Unknown W. Brackets committed 2021-01-01 08:55:18 -08:00
1 parent 83644ec1b8
commit c3ddb279f9
4 files changed
+28 -8

No files matched your search

+8
View File
@@ -385,6 +385,14 @@ void OutputSink::AccountPush(size_t bytes) {
void OutputSink::AccountDrain(int bytes) {
if (bytes < 0) {
#if PPSSPP_PLATFORM(WINDOWS)
int err = WSAGetLastError();
if (err == WSAEWOULDBLOCK)
return;
#else
if (errno == EWOULDBLOCK || errno == EAGAIN)
return;
#endif
ERROR_LOG(IO, "Error writing to socket");
return;
}