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");