summaryrefslogtreecommitdiff
path: root/src/tipideed/cgi.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-31 01:34:37 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-31 01:34:37 +0000
commitac54bede6aa6953253d1b04443c5bc6062676060 (patch)
treefb6e8e05261dcdc4a3f5a339e8dc8bec4af5a823 /src/tipideed/cgi.c
parent28e7bfc363aefc591955794e9c031f6962274368 (diff)
downloadtipidee-ac54bede6aa6953253d1b04443c5bc6062676060.tar.xz
Some bugfixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/cgi.c')
-rw-r--r--src/tipideed/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c
index 43fb98d..3319099 100644
--- a/src/tipideed/cgi.c
+++ b/src/tipideed/cgi.c
@@ -209,7 +209,7 @@ static inline int run_cgi (tipidee_rql const *rql, char const *docroot, char con
rstate = 1 ;
break ;
}
- case 400 : die502x(rql, 2, docroot, "invalid headers", " from cgi ", argv[0]) ;
+ case 400 : die502x(rql, 2, docroot, "invalid output", " from cgi ", argv[0]) ;
case 413 : die502x(rql, 2, docroot, hdr->n >= TIPIDEE_HEADERS_MAX ? "Too many headers" : "Too much header data", " from cgi ", argv[0]) ;
case 500 : die500x(rql, 101, docroot, "can't happen: ", "avltreen_insert failed", " in do_cgi") ;
default : die500x(rql, 101, docroot, "can't happen: ", "unknown tipidee_headers_parse return code", " in do_cgi") ;