From: Fredrik Tolf Date: Sat, 23 Feb 2019 17:01:41 +0000 (+0100) Subject: Updated to current mtstdopen interface. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=fb33d4f03b36971effba8886b945bee9131255eb;p=statserve.git Updated to current mtstdopen interface. --- diff --git a/statserve.c b/statserve.c index 1801b95..50719df 100644 --- a/statserve.c +++ b/statserve.c @@ -53,7 +53,7 @@ static void serve(struct muth *muth, va_list args) simpleerror(fd, 404, "Resource not found", "The resource %s was not found", htmlquote(req->rest)); goto out; } - out = mtstdopen(fd, 1, 60, "r+"); + out = mtstdopen(fd, 1, 60, "r+", NULL); if(cached(req, f)) { fprintf(out, "HTTP/1.1 304 Not Modified\n"); fprintf(out, "Content-Length: 0\n");