summaryrefslogtreecommitdiff
path: root/src/tipideed/tipideed.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-20 08:53:53 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-20 08:53:53 +0000
commit4724a590413fc351d72211fd99df6c41decd0fa8 (patch)
tree6afdb5ecdf95f64c90ba88cf417353740dca6a78 /src/tipideed/tipideed.c
parentc53494717ca8efa61b164a3adcb77ec83453bab9 (diff)
downloadtipidee-4724a590413fc351d72211fd99df6c41decd0fa8.tar.xz
More doc, more fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/tipideed.c')
-rw-r--r--src/tipideed/tipideed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c
index 0cc512c..8c1e16e 100644
--- a/src/tipideed/tipideed.c
+++ b/src/tipideed/tipideed.c
@@ -513,7 +513,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
while (serve(&rql, docroot, hostlen + 1 + g.localportlen, uribuf, &hdr, bodysa.s, bodysa.len))
if (localredirs++ >= MAX_LOCALREDIRS)
- die502x(&rql, 1, "too many local redirections - possible loop involving path ", rql.uri.path) ;
+ die502x(&rql, 2, "too many local redirections - possible loop involving path ", rql.uri.path) ;
}
}
log_and_exit(0) ;