Dolda2000 GitWeb
/
statserve.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025221e
)
Updated to current mtstdopen interface.
master
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 23 Feb 2019 17:01:41 +0000
(18:01 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 23 Feb 2019 17:01:41 +0000
(18:01 +0100)
statserve.c
patch
|
blob
|
blame
|
history
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;
}
- 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");