src/server/safs/cgi.c

changeset 617
01228719b3ce
parent 585
bae488d2b3c2
child 618
e42a8de6d66f
equal deleted inserted replaced
616:7a0a364a1d67 617:01228719b3ce
113 } 113 }
114 ZERO(handler, sizeof(CGIHandler)); 114 ZERO(handler, sizeof(CGIHandler));
115 handler->process.out[0] = -1; 115 handler->process.out[0] = -1;
116 handler->process.out[1] = -1; 116 handler->process.out[1] = -1;
117 handler->process.err[0] = -1; 117 handler->process.err[0] = -1;
118 handler->process.err[0] = -1; 118 handler->process.err[1] = -1;
119 handler->process.in[0] = -1; 119 handler->process.in[0] = -1;
120 handler->process.in[0] = -1; 120 handler->process.in[1] = -1;
121 handler->path = path; 121 handler->path = path;
122 122
123 int ret = cgi_start(rq, &handler->process, path, argv, env); 123 int ret = cgi_start(rq, &handler->process, path, argv, env);
124 if(ret != REQ_PROCEED) { 124 if(ret != REQ_PROCEED) {
125 close_std_pipes((int[6]){ 125 close_std_pipes((int[6]){

mercurial