]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/proxy.cc
This is realloc, not reallocf: be more careful :/.
[apt.git] / apt-pkg / contrib / proxy.cc
index 4529cf230245747ebfe1966f68bf29b6c7e59ad1..62cfba032cf1741683534d7c862d64d71db0bc3f 100644 (file)
@@ -48,7 +48,7 @@ bool AutoDetectProxy(URI &URL)
    Args.push_back(nullptr);
    FileFd PipeFd;
    pid_t Child;
-   if(Popen(&Args[0], PipeFd, Child, FileFd::ReadOnly) == false)
+   if(Popen(&Args[0], PipeFd, Child, FileFd::ReadOnly, false) == false)
       return _error->Error("ProxyAutoDetect command '%s' failed!", AutoDetectProxyCmd.c_str());
    char buf[512];
    bool const goodread = PipeFd.ReadLine(buf, sizeof(buf)) != nullptr;