X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=acceptor.cpp;h=75dd70b5540ff291b1cb2f7f54000a1340ae9ef4;hb=581694ded2a2de99cad7383f04a0ee1fb588f27d;hp=31901dd8406c97c39d97dc9b3310dedb4f37a18e;hpb=7c23f706733b12405c0cb8793866b57ba5800c98;p=cubemap diff --git a/acceptor.cpp b/acceptor.cpp index 31901dd..75dd70b 100644 --- a/acceptor.cpp +++ b/acceptor.cpp @@ -104,7 +104,7 @@ Acceptor::Acceptor(const AcceptorProto &serialized) { // Set back the close-on-exec flag for the socket. // (This can't leak into a child, since we haven't been started yet.) - fcntl(server_sock, F_SETFD, O_CLOEXEC); + fcntl(server_sock, F_SETFD, FD_CLOEXEC); } AcceptorProto Acceptor::serialize() const