X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=acceptor.cpp;h=75dd70b5540ff291b1cb2f7f54000a1340ae9ef4;hb=757d3a3a170faf4c30115df1cea43a47a425add5;hp=31901dd8406c97c39d97dc9b3310dedb4f37a18e;hpb=edc6342c5106959a01f5e2d08a7cb95b3c24de9c;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