mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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
This commit is contained in:
parent
253a701ed7
commit
42b0e9558a
136 changed files with 233 additions and 233 deletions
|
@ -53,7 +53,7 @@
|
|||
#define SERVERINFO_PGPKEYV2 2 /* Needs "pgpKeyV2" instead of "pgpKey"*/
|
||||
#define SERVERINFO_SCHEMAV2 4 /* Version 2 of the Schema. */
|
||||
#define SERVERINFO_NTDS 8 /* Server is an Active Directory. */
|
||||
#define SERVERINFO_GENERIC 16 /* Connected in genric mode. */
|
||||
#define SERVERINFO_GENERIC 16 /* Connected in generic mode. */
|
||||
|
||||
|
||||
/* The page size requested from the server. */
|
||||
|
@ -1257,7 +1257,7 @@ return_all_attributes (LDAP *ld, LDAPMessage *msg, estream_t *fp)
|
|||
}
|
||||
|
||||
/* Always print the DN - note that by using only unbkown attributes
|
||||
* it is pissible to list just the DNs with out addiional
|
||||
* it is possible to list just the DNs with out additional
|
||||
* linefeeds. */
|
||||
es_fprintf (*fp, "Dn: %s\n", mydn? mydn : "[oops DN missing]");
|
||||
|
||||
|
@ -1307,7 +1307,7 @@ return_all_attributes (LDAP *ld, LDAPMessage *msg, estream_t *fp)
|
|||
len = values[idx]->bv_len;
|
||||
while (len && (s = memchr (val, '\n', len)))
|
||||
{
|
||||
s++; /* We als want to print the LF. */
|
||||
s++; /* We also want to print the LF. */
|
||||
if (es_fwrite (val, s - val, 1, *fp) != 1)
|
||||
goto fwrite_failed;
|
||||
len -= (s-val);
|
||||
|
@ -2361,7 +2361,7 @@ modlist_free (LDAPMod **modlist)
|
|||
LDAPMod *mod = *ml;
|
||||
char **ptr;
|
||||
|
||||
/* The list of values is a NULL termianted array of pointers.
|
||||
/* The list of values is a NULL terminated array of pointers.
|
||||
If the list is NULL, there are no values. */
|
||||
|
||||
if (mod->mod_values)
|
||||
|
@ -2460,7 +2460,7 @@ uncescape (char *str)
|
|||
/* Given one line from an info block (`gpg --list-{keys,sigs}
|
||||
--with-colons KEYID'), pull it apart and fill in the modlist with
|
||||
the relevant (for the LDAP schema) attributes. EXTRACT_STATE
|
||||
should initally be set to 0 by the caller. SCHEMAV2 is set if the
|
||||
should initially be set to 0 by the caller. SCHEMAV2 is set if the
|
||||
server supports the version 2 schema. */
|
||||
static void
|
||||
extract_attributes (LDAPMod ***modlist, int *extract_state,
|
||||
|
@ -2620,7 +2620,7 @@ extract_attributes (LDAPMod ***modlist, int *extract_state,
|
|||
|
||||
memset (&tm, 0, sizeof (tm));
|
||||
|
||||
/* parse_timestamp handles both seconds fromt he epoch and
|
||||
/* parse_timestamp handles both seconds from the epoch and
|
||||
ISO 8601 format. We also need to handle YYYY-MM-DD
|
||||
format (as generated by gpg1 --with-colons --list-key).
|
||||
Check that first and then if it fails, then try
|
||||
|
@ -2668,7 +2668,7 @@ extract_attributes (LDAPMod ***modlist, int *extract_state,
|
|||
|
||||
memset (&tm, 0, sizeof (tm));
|
||||
|
||||
/* parse_timestamp handles both seconds fromt he epoch and
|
||||
/* parse_timestamp handles both seconds from the epoch and
|
||||
ISO 8601 format. We also need to handle YYYY-MM-DD
|
||||
format (as generated by gpg1 --with-colons --list-key).
|
||||
Check that first and then if it fails, then try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue