X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fhtparser.c;h=92445d7bf85f7554a7a6ef0066d28314963f63f7;hp=a20b32906ab25d0a98926c1515660999a47959b2;hb=b71ad67f41a9e99bd243d57b5038de28f1696f27;hpb=ff28e3a531571868159d2a48039bec6bc83f2f0f diff --git a/src/htparser.c b/src/htparser.c index a20b329..92445d7 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -328,7 +328,7 @@ void serve(FILE *in, struct conn *conn) if(sendreq(plex, req, pfds[0])) break; close(pfds[0]); - out = mtstdopen(pfds[1], 1, 600, "r+"); + out = mtstdopen(pfds[1], 1, 600, "r+", NULL); if(getheader(req, "content-type") != NULL) { if((hd = getheader(req, "content-length")) != NULL) {