From: Fredrik Tolf Date: Mon, 3 Mar 2014 00:08:05 +0000 (+0100) Subject: callfcgi: Use the library mtio pipes instead of kernel pipes. X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=c7f4f7500d96a0ce71bfe9dd0e5b3c939a9a3298 callfcgi: Use the library mtio pipes instead of kernel pipes. --- diff --git a/src/callfcgi.c b/src/callfcgi.c index 9f30f00..e1d71f2 100644 --- a/src/callfcgi.c +++ b/src/callfcgi.c @@ -608,15 +608,6 @@ static int begreq(FILE *out, int rid) return(sendrec(out, FCGI_BEGIN_REQUEST, rid, rec, 8)); } -static void mtiopipe(FILE **read, FILE **write) -{ - int fds[2]; - - pipe(fds); - *read = mtstdopen(fds[0], 0, 600, "r"); - *write = mtstdopen(fds[1], 0, 600, "w"); -} - static void outplex(struct muth *muth, va_list args) { vavar(FILE *, sk);