X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=stream.cpp;h=c79391a81990b2f94ddef1b460beb08b62de0274;hb=757d3a3a170faf4c30115df1cea43a47a425add5;hp=4e5ca24cceab8870dfdfa00e66b161aecc61f729;hpb=edc6342c5106959a01f5e2d08a7cb95b3c24de9c;p=cubemap diff --git a/stream.cpp b/stream.cpp index 4e5ca24..c79391a 100644 --- a/stream.cpp +++ b/stream.cpp @@ -69,7 +69,7 @@ Stream::Stream(const StreamProto &serialized, int data_fd) } // Set the close-on-exec parameter back on the backlog fd. - fcntl(data_fd, F_SETFD, O_CLOEXEC); + fcntl(data_fd, F_SETFD, FD_CLOEXEC); for (ssize_t point : serialized.suitable_starting_point()) { if (point == -1) {