From fb33d4f03b36971effba8886b945bee9131255eb Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 23 Feb 2019 18:01:41 +0100 Subject: [PATCH] Updated to current mtstdopen interface. --- statserve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.11.0