Fix spelling.

--

Clean up several other misspellings noticed while reviewing Yuri's
de-duplication patch.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor 2017-02-20 16:25:15 -05:00
parent 24cf0606b4
commit ccb420380b
6 changed files with 9 additions and 9 deletions

View File

@ -50,13 +50,13 @@
/* Definition of module local data of the CTRL structure. */ /* Definition of module local data of the CTRL structure. */
struct scd_local_s struct scd_local_s
{ {
/* We keep a list of all allocated context with an achnor at /* We keep a list of all allocated context with an anchor at
SCD_LOCAL_LIST (see below). */ SCD_LOCAL_LIST (see below). */
struct scd_local_s *next_local; struct scd_local_s *next_local;
/* We need to get back to the ctrl object actually referencing this /* We need to get back to the ctrl object actually referencing this
structure. This is really an awkward way of enumerint the lcoal structure. This is really an awkward way of enumerating the local
contects. A much cleaner way would be to keep a global list of contexts. A much cleaner way would be to keep a global list of
ctrl objects to enumerate them. */ ctrl objects to enumerate them. */
ctrl_t ctrl_backlink; ctrl_t ctrl_backlink;

View File

@ -1497,7 +1497,7 @@
* dirmngr-client.c (inq_cert): Ignore "SENDCERT" and * dirmngr-client.c (inq_cert): Ignore "SENDCERT" and
"SENDISSUERCERT". "SENDISSUERCERT".
* server.c (do_get_cert_local): Limit the length of a retruned * server.c (do_get_cert_local): Limit the length of a returned
certificate. Return NULL without an error if an empry value has certificate. Return NULL without an error if an empry value has
been received. been received.
@ -1897,7 +1897,7 @@
corrupted CRL files. corrupted CRL files.
(open_dir): Read the new dbfile hash field. (open_dir): Read the new dbfile hash field.
* src/crlfetch.c (crl_fetch, crl_fetch_default): Changed to retrun * src/crlfetch.c (crl_fetch, crl_fetch_default): Changed to return
a stream. a stream.
(fun_reader, fun_closer, setup_funopen): New. (fun_reader, fun_closer, setup_funopen): New.
* src/server.c (inquire_cert): Changed to use the new stream interface * src/server.c (inquire_cert): Changed to use the new stream interface

View File

@ -222,7 +222,7 @@ tdb_register_trusted_key( const char *string )
/* /*
* Helper to add a key to the global list of ultimately trusted keys. * Helper to add a key to the global list of ultimately trusted keys.
* Retruns: true = inserted, false = already in list. * Returns: true = inserted, false = already in list.
*/ */
static int static int
add_utk (u32 *kid) add_utk (u32 *kid)

View File

@ -44,7 +44,7 @@ static FILE *statusfp;
the CTRL object of each connection. */ the CTRL object of each connection. */
struct server_local_s struct server_local_s
{ {
/* The Assuan contect we are working on. */ /* The Assuan context we are working on. */
assuan_context_t assuan_ctx; assuan_context_t assuan_ctx;
char *containername; /* Malloced active containername. */ char *containername; /* Malloced active containername. */

View File

@ -35,7 +35,7 @@
the CTRL object of each connection. */ the CTRL object of each connection. */
struct server_local_s struct server_local_s
{ {
/* The Assuan contect we are working on. */ /* The Assuan context we are working on. */
assuan_context_t assuan_ctx; assuan_context_t assuan_ctx;
/* The malloced name of the device. */ /* The malloced name of the device. */

View File

@ -463,7 +463,7 @@ show_event (rfc822parse_event_t event)
/* This function is called by the parser to communicate events. This /* This function is called by the parser to communicate events. This
callback comminucates with the main program using a structure callback comminucates with the main program using a structure
passed in OPAQUE. Should retrun 0 or set errno and return -1. */ passed in OPAQUE. Should return 0 or set errno and return -1. */
static int static int
message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg) message_cb (void *opaque, rfc822parse_event_t event, rfc822parse_t msg)
{ {