Dolda2000 GitWeb
/
statserve.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to current mtstdopen interface.
[statserve.git]
/
statserve.c
diff --git
a/statserve.c
b/statserve.c
index
1801b95
..
50719df
100644
(file)
--- 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;
}
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");
if(cached(req, f)) {
fprintf(out, "HTTP/1.1 304 Not Modified\n");
fprintf(out, "Content-Length: 0\n");