~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the existing -d (depth) option apply to the -H (static HTML
[sgt/agedu]
/
httpd.c
diff --git
a/httpd.c
b/httpd.c
index
e5ee270
..
90d4e42
100644
(file)
--- a/
httpd.c
+++ b/
httpd.c
@@
-277,7
+277,7
@@
char *got_data(struct connctx *ctx, char *data, int length,
ret = http_error("404", "Not Found", NULL,
"This is not a valid pathname index.");
} else {
ret = http_error("404", "Not Found", NULL,
"This is not a valid pathname index.");
} else {
- document = html_query(ctx->t, index, cfg);
+ document = html_query(ctx->t, index, cfg
, 1
);
if (document) {
ret = http_success("text/html", 1, document);
sfree(document);
if (document) {
ret = http_success("text/html", 1, document);
sfree(document);