diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-29 16:38:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-29 16:38:46 +0000 |
commit | f1a6903f46c0e2edcdd2b7fa83c8a5bb4ca0e021 (patch) | |
tree | f7430b4070c761bd0ad6cd26587e210a9defbf54 /src/config/lexparse.c | |
parent | 03696fce8d0061a70ea16aef8be0c0adbae8c5af (diff) | |
download | tipidee-f1a6903f46c0e2edcdd2b7fa83c8a5bb4ca0e021.tar.xz |
Send CGI Content-Length even when 0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/lexparse.c')
-rw-r--r-- | src/config/lexparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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-- ; |