diff options
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibCore/Socket.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Libraries/LibCore/Socket.cpp b/Libraries/LibCore/Socket.cpp index 052a20d0db..98d8b2566a 100644 --- a/Libraries/LibCore/Socket.cpp +++ b/Libraries/LibCore/Socket.cpp @@ -184,10 +184,8 @@ bool Socket::common_connect(const struct sockaddr* addr, socklen_t addrlen) ByteBuffer Socket::receive(int max_size) { auto buffer = read(max_size); - if (eof()) { - dbg() << *this << " connection appears to have closed in receive()."; + if (eof()) m_connected = false; - } return buffer; } |