aports/main/mini_httpd/cgi.patch

11 lines
261 B
Diff

--- a/mini_httpd.c
+++ b/mini_httpd.c
@@ -1841,7 +1841,7 @@
/* Interposer process. */
(void) close( p[0] );
cgi_interpose_input( p[1] );
- finish_request( 0 );
+ exit( 0 );
}
(void) close( p[1] );
if ( p[0] != STDIN_FILENO )