chiark / gitweb /
cgi-fcgi-interp: actually pass numservers
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 20:26:09 +0000 (21:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 29 Mar 2016 20:26:09 +0000 (21:26 +0100)
cprogs/cgi-fcgi-interp.c

index 5aeee72..f455dbe 100644 (file)
@@ -549,6 +549,7 @@ int main(int argc, const char *const *argv) {
     execlp("cgi-fcgi",
           "cgi-fcgi", "-connect", socket_path,
           script,
+          m_asprintf("%d", numservers),
           (char*)0);
     err(127,"exec cgi-fcgi");