Merge pull request #9 from pinver/patch-1

avoid to pollute the console by default
This commit is contained in:
Sönke Ludwig 2017-04-26 13:14:23 +02:00 committed by GitHub
commit 35f423a29c

View file

@ -59,11 +59,11 @@ final class KqueueEventLoop : PosixEventLoop {
m_changes.length = 0;
m_changes.assumeSafeAppend();
print("kevent returned %s", ret);
//print("kevent returned %s", ret);
if (ret > 0) {
foreach (ref evt; m_events[0 .. ret]) {
print("event %s %s", evt.ident, evt.filter, evt.flags);
//print("event %s %s", evt.ident, evt.filter, evt.flags);
assert(evt.ident <= uint.max);
auto fd = cast(FD)cast(int)evt.ident;
if (evt.flags & (EV_EOF|EV_ERROR))