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);
fprintf(stderr, "socket(PF_INET): %s\n", strerror(errno));
exit(1);
}
+ memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
if (!dcfg->address) {
#ifdef RANDOM_LOCALHOST