diff options
author | Daniel Kahn Gillmor <[email protected]> | 2024-05-12 22:09:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-05-31 10:28:32 +0000 |
commit | 42b0e9558a308dbc954ee60c3d346b5cabcd2fdb (patch) | |
tree | f073776758cd706a0cadf0bd64073d1669a8d691 /tools/gpgtar-list.c | |
parent | g13: Adjust for changed gnupg_process_spawn. (diff) | |
download | gnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.tar.gz gnupg-42b0e9558a308dbc954ee60c3d346b5cabcd2fdb.zip |
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
Diffstat (limited to 'tools/gpgtar-list.c')
-rw-r--r-- | tools/gpgtar-list.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |