X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=httpinput.cpp;h=b2b620706ad368983e37aafd8ae1e1f101e784f6;hb=757d3a3a170faf4c30115df1cea43a47a425add5;hp=75cf99b9c8de73983e039bd2061dd7ef2da20c96;hpb=edc6342c5106959a01f5e2d08a7cb95b3c24de9c;p=cubemap diff --git a/httpinput.cpp b/httpinput.cpp index 75cf99b..b2b6207 100644 --- a/httpinput.cpp +++ b/httpinput.cpp @@ -81,7 +81,7 @@ HTTPInput::HTTPInput(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.) if (sock != -1) { - fcntl(sock, F_SETFD, O_CLOEXEC); + fcntl(sock, F_SETFD, FD_CLOEXEC); } pending_data.resize(serialized.pending_data().size());