diff options
author | June McEnroe <june@causal.agency> | 2020-07-16 17:46:19 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-16 17:46:19 -0400 |
commit | 6500baa1ffc720ec4c0f256dd99dab478225122b (patch) | |
tree | 8afb6e817f3fd21c93a42a6fd65de931b262be05 /networks.c | |
parent | Remove viewport meta (diff) | |
download | scooper-6500baa1ffc720ec4c0f256dd99dab478225122b.tar.gz scooper-6500baa1ffc720ec4c0f256dd99dab478225122b.zip |
Big refactor, remove struct Scope
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); |