X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=acceptor.cpp;h=29a7f8c1f675d356f2af42047b473a9b82f44169;hp=bb3ebcb06cc3f6479a7e620c5ac37dcfb7cb7a0b;hb=4935d50a97f7391795b7974b40c85003189f117a;hpb=16a03b9858752fae9e81af261821a2a22855fde3 diff --git a/acceptor.cpp b/acceptor.cpp index bb3ebcb..29a7f8c 100644 --- a/acceptor.cpp +++ b/acceptor.cpp @@ -130,7 +130,7 @@ void Acceptor::close_socket() void Acceptor::do_work() { while (!should_stop()) { - if (!wait_for_activity(server_sock, POLLIN, NULL)) { + if (!wait_for_activity(server_sock, POLLIN, nullptr)) { continue; }