]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix up remotebackend for utilit rehash
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 8 Mar 2015 18:45:18 +0000 (19:45 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 8 Mar 2015 18:45:18 +0000 (19:45 +0100)
modules/remotebackend/pipeconnector.cc

index 140132a20159ee289e940781f3acf01d10604e5a..a57af5d25bd66d3149aeef658b0a204690a93e96 100644 (file)
@@ -59,9 +59,9 @@ void PipeConnector::launch() {
     throw PDNSException("Unable to fork for coprocess: "+stringerror());
   else if(d_pid>0) { // parent speaking
     close(d_fd1[0]);
-    Utility::setCloseOnExec(d_fd1[1]);
+    setCloseOnExec(d_fd1[1]);
     close(d_fd2[1]);
-    Utility::setCloseOnExec(d_fd2[0]);
+    setCloseOnExec(d_fd2[0]);
     if(!(d_fp=fdopen(d_fd2[0],"r")))
       throw PDNSException("Unable to associate a file pointer with pipe: "+stringerror());
     if (d_timeout)