mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
http: Cleanup excessive logging.
This commit is contained in:
1 parent
83644ec1b8
commit
c3ddb279f9
4 files changed
+28
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user