diff options
Diffstat (limited to '')
-rw-r--r-- | networks.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/networks.c b/networks.c index c92da21..af3ad80 100644 --- a/networks.c +++ b/networks.c @@ -45,8 +45,6 @@ const char *NetworksQuery = SQL( ); enum kcgi_err networksPage(struct kreq *req) { - struct Scope scope = {0}; - enum kcgi_err error = 0 || httpHead(req, KHTTP_200, KMIME_TEXT_HTML) || khttp_body(req); @@ -56,7 +54,7 @@ enum kcgi_err networksPage(struct kreq *req) { error = error || khtml_open(&html, req, 0) || htmlHead(&html, "Litterbox") - || htmlNav(&html, scope); + || htmlNav(&html, req); if (error) return error; sqlite3_reset(stmt.networks); |