mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Remove debug output
I was initially under the impression that no data should be sent past EOF but from testing it is clear that this assumption is incorrect. It’s unimportant though as we do handle the case (though we didn’t initially, and that’s why I put in the fprintf, to verify the situation I guarded for actually was happening).
This commit is contained in:
@@ -111,6 +111,7 @@ namespace io
|
||||
|
||||
iterate(it, tmp)
|
||||
{
|
||||
// required check as we may receive a post-EOF “bytes available” with ‘it->length == 0’
|
||||
if(clients_consumed_eof.find(it->client_key) == clients_consumed_eof.end())
|
||||
{
|
||||
std::map<size_t, reader_t*>::iterator client = client_to_callback.find(it->client_key);
|
||||
@@ -119,10 +120,6 @@ namespace io
|
||||
if(it->length == 0)
|
||||
clients_consumed_eof.insert(it->client_key);
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "*** got %zu bytes for client which already received EOF\n", it->length);
|
||||
}
|
||||
delete it->bytes;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user