summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/journal-remote-main.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-06-23 18:28:08 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-06-23 18:28:08 +0200
commit1f8ef0952a87fa27b25583532179cb03caa37df2 (patch)
tree860764189fbd7d974254a99274e4b21b009e62fc /src/journal-remote/journal-remote-main.c
parentman: fix references to gethostname/sethostname (diff)
downloadsystemd-1f8ef0952a87fa27b25583532179cb03caa37df2.tar.xz
systemd-1f8ef0952a87fa27b25583532179cb03caa37df2.zip
journal-remote: fix syntax in error message
Prompted by 2411e990a480affe30bd99a2a33ab6b94a3fe5dd.
Diffstat (limited to 'src/journal-remote/journal-remote-main.c')
-rw-r--r--src/journal-remote/journal-remote-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c
index 10d5b70806..4f789a5f66 100644
--- a/src/journal-remote/journal-remote-main.c
+++ b/src/journal-remote/journal-remote-main.c
@@ -311,7 +311,7 @@ static mhd_result request_handler(
if (chunked)
return mhd_respond(connection, MHD_HTTP_BAD_REQUEST,
- "Content-Length must not specified when Transfer-Encoding type is 'chunked'");
+ "Content-Length not allowed when Transfer-Encoding type is 'chunked'");
r = safe_atozu(header, &len);
if (r < 0)