]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal-remote: fix syntax in error message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jun 2023 16:28:08 +0000 (10:28 -0600)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jun 2023 16:28:08 +0000 (10:28 -0600)
Prompted by 2411e990a480affe30bd99a2a33ab6b94a3fe5dd.

src/journal-remote/journal-remote-main.c

index 10d5b708060bd6e1bd5fc8a5bc470822ad454546..4f789a5f66023233e9712dfd63514e7d48987448 100644 (file)
@@ -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)