X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=udpinput.cpp;h=4b421a3e4fe90c91732a7a24c53adc476175fd7d;hb=refs%2Fheads%2Fmaster;hp=873b0b952911a226d8f08255f80e2d092e163801;hpb=7c23f706733b12405c0cb8793866b57ba5800c98;p=cubemap diff --git a/udpinput.cpp b/udpinput.cpp index 873b0b9..824c3bc 100644 --- a/udpinput.cpp +++ b/udpinput.cpp @@ -123,7 +123,7 @@ UDPInput::UDPInput(const InputProto &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(sock, F_SETFD, O_CLOEXEC); + fcntl(sock, F_SETFD, FD_CLOEXEC); // Should be verified by the caller. string protocol;