summaryrefslogtreecommitdiff
path: root/src/ot_http.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-05 15:13:55 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-05 15:13:55 +0100
commit4e0b179014ced8c16c90bdfd6d82df625fea47e9 (patch)
tree5c9bab8535942166472cd367c3941f564c78beb7 /src/ot_http.c
parent14f1f19dab3f41b5bcaeb40f63964c57eb1e25f2 (diff)
Some minor indenting and man page language style fixes
Diffstat (limited to 'src/ot_http.c')
-rw-r--r--src/ot_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ot_http.c b/src/ot_http.c
index cc11366..1b8f5ef 100644
--- a/src/ot_http.c
+++ b/src/ot_http.c
@@ -343,8 +343,8 @@ static ssize_t http_handle_stats(const int64_t sock, struct ot_workstruct *ws, c
343 343
344 if (mode == TASK_STATS_TPB) { 344 if (mode == TASK_STATS_TPB) {
345#ifdef WANT_RESTRICT_FULLSCRAPE 345#ifdef WANT_RESTRICT_FULLSCRAPE
346 if (!accesslist_is_blessed(cookie->ip, OT_PERMISSION_MAY_FULLSCRAPE)) 346 if (!accesslist_is_blessed(cookie->ip, OT_PERMISSION_MAY_FULLSCRAPE))
347 HTTPERROR_403_IP; 347 HTTPERROR_403_IP;
348#endif 348#endif
349#ifdef WANT_COMPRESSION_GZIP 349#ifdef WANT_COMPRESSION_GZIP
350 ws->request[ws->request_size - 1] = 0; 350 ws->request[ws->request_size - 1] = 0;