]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal-remote: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 14 Feb 2025 04:22:28 +0000 (13:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 14 Feb 2025 04:23:27 +0000 (13:23 +0900)
Follow-ups for cfaf78001c3451d549bcb1ee4adca3e85b934e56.

man/journal-remote.conf.xml
src/journal-remote/journal-remote-main.c

index 34ef21a326d23508f8625013b8146ab2a85c31a0..67afd9dae5a9c11016beeb2335a563d36f98646f 100644 (file)
@@ -62,7 +62,7 @@
         <term><varname>Compression=</varname></term>
 
         <listitem><para>Acceptable compression algorithms to be used by <command>systemd-journal-upload</command>. Compression algorithms are
-        used for <literal>Accept-Encoding</literal> header contruction with priorities set according to an order in configuration.
+        used for <literal>Accept-Encoding</literal> header construction with priorities set according to an order in configuration.
         This parameter takes space separated list of compression algorithms. Example:
         <programlisting>Compression=zstd lz4</programlisting>
         This option can be specified multiple times. If an empty string is assigned, then all the previous assignments are cleared.
index 3c780b8f76235a1fe78c5e6e8f34352fa5f6b669..88ab62a7c7a95d6e9b0ea83ac86f37b8893f6bd1 100644 (file)
@@ -242,7 +242,7 @@ static int process_http_upload(
 
                         r = decompress_blob(source->compression, upload_data, *upload_data_size, (void **) &buf, &buf_size, 0);
                         if (r < 0)
-                                return mhd_respondf(connection, r, MHD_HTTP_BAD_REQUEST, "Decompression of received blob falied.");
+                                return mhd_respondf(connection, r, MHD_HTTP_BAD_REQUEST, "Decompression of received blob failed.");
 
                         r = journal_importer_push_data(&source->importer, buf, buf_size);
                 } else