From 42b0e9558a308dbc954ee60c3d346b5cabcd2fdb Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 12 May 2024 18:09:23 -0400 Subject: indent: Fix spelling -- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116 --- tools/gpgtar-list.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/gpgtar-list.c') diff --git a/tools/gpgtar-list.c b/tools/gpgtar-list.c index 55d9246af..74706cddd 100644 --- a/tools/gpgtar-list.c +++ b/tools/gpgtar-list.c @@ -189,7 +189,7 @@ parse_header (const void *record, const char *filename, tarinfo_t info) return header; } -/* Parse the extended header. This funcion may modify BUFFER. */ +/* Parse the extended header. This function may modify BUFFER. */ static gpg_error_t parse_extended_header (const char *fname, char *buffer, size_t buflen, strlist_t *r_exthdr) @@ -317,14 +317,14 @@ read_header (estream_t stream, tarinfo_t info, /* Read the extended header. */ if (!hdr->nrecords) { - /* More than 64k for an extedned header is surely too large. */ + /* More than 64k for an extended header is surely too large. */ log_info ("%s: warning: empty extended header\n", es_fname_get (stream)); return 0; } if (hdr->nrecords > 65536 / RECORDSIZE) { - /* More than 64k for an extedned header is surely too large. */ + /* More than 64k for an extended header is surely too large. */ log_error ("%s: extended header too large - skipping\n", es_fname_get (stream)); return 0; @@ -365,7 +365,7 @@ read_header (estream_t stream, tarinfo_t info, } xfree (buffer); - /* Now tha the extedned header has been read, we read the next + /* Now that the extended header has been read, we read the next * header without allowing an extended header. */ return read_header (stream, info, r_header, NULL); } -- cgit v1.2.3