aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd/cgi.patch
blob: f459bb4584bc1444697efd1ccdf8551b6cc932b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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 )