X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=stream.cpp;h=c79391a81990b2f94ddef1b460beb08b62de0274;hb=HEAD;hp=4e5ca24cceab8870dfdfa00e66b161aecc61f729;hpb=7c23f706733b12405c0cb8793866b57ba5800c98;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) {