]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
rar: Fix typos in comments 2694/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 9 Jul 2025 21:11:20 +0000 (23:11 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 9 Jul 2025 21:13:51 +0000 (23:13 +0200)
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_read_support_format_rar.c

index 04dff5b6c3a34379af8e0a494de161995f00b286..9b401c00ba346ce8050959d49716b3367e6534d4 100644 (file)
@@ -1453,7 +1453,7 @@ read_header(struct archive_read *a, struct archive_entry *entry,
     return (ARCHIVE_FATAL);
 #endif
   }
-  /* If no CRC error, Go on parsing File Header. */
+  /* If no CRC error, go on parsing File Header. */
   p = h;
   endp = p + header_size - 7;
   memcpy(&file_header, p, sizeof(file_header));
@@ -2366,8 +2366,8 @@ parse_codes(struct archive_read *a)
         return (ARCHIVE_FATAL);
       }
 
-      /* Make sure ppmd7_contest is freed before Ppmd7_Construct
-       * because reading a broken file cause this abnormal sequence. */
+      /* Make sure ppmd7_context is freed before Ppmd7_Construct
+       * because reading a broken file causes this abnormal sequence. */
       __archive_ppmd7_functions.Ppmd7_Free(&rar->ppmd7_context);
 
       rar->bytein.a = a;