From f1a6903f46c0e2edcdd2b7fa83c8a5bb4ca0e021 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 29 Sep 2023 16:38:46 +0000 Subject: Send CGI Content-Length even when 0 Signed-off-by: Laurent Bercot --- src/config/lexparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config') diff --git a/src/config/lexparse.c b/src/config/lexparse.c index 99693a5..d541888 100644 --- a/src/config/lexparse.c +++ b/src/config/lexparse.c @@ -333,7 +333,7 @@ static inline void process_line (char const *s, size_t const *word, size_t n, st break ; case T_DOMAIN : if (n != 1) - strerr_dief8x(1, "too", n > 1 ? "many" : "few", " arguments to directive ", "domain", " in file ", g.storage.s + md->filepos, " line ", md->linefmt) ; + strerr_dief8x(1, "too ", n > 1 ? "many" : "few", " arguments to directive ", "domain", " in file ", g.storage.s + md->filepos, " line ", md->linefmt) ; domain->len = 0 ; if (!stralloc_cats(domain, s + *word)) dienomem() ; while (domain->len && (domain->s[domain->len - 1] == '/' || domain->s[domain->len - 1] == '.')) domain->len-- ; -- cgit v1.3.1