mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
all: fix spelling and typos
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
ef540d1af0
commit
54eb375ff1
77 changed files with 120 additions and 120 deletions
|
@ -91,7 +91,7 @@ static struct
|
|||
enum {
|
||||
PAT_NULL, /* Indicates end of the array. */
|
||||
PAT_STRING, /* The pattern is a simple string. */
|
||||
PAT_REGEX /* The pattern is an extended regualr expression. */
|
||||
PAT_REGEX /* The pattern is an extended regualar expression. */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -823,7 +823,7 @@ main (int argc, char **argv)
|
|||
;
|
||||
else if (rmdir (socketdir))
|
||||
{
|
||||
/* If the director is not empty we first try to delet
|
||||
/* If the director is not empty we first try to delete
|
||||
* socket files. */
|
||||
err = gpg_error_from_syserror ();
|
||||
if (gpg_err_code (err) == GPG_ERR_ENOTEMPTY
|
||||
|
|
|
@ -50,7 +50,7 @@ struct mime_parser_context_s
|
|||
{
|
||||
void *cookie; /* Cookie passed to all callbacks. */
|
||||
|
||||
/* The callback to announce the transation from header to body. */
|
||||
/* The callback to announce the transition from header to body. */
|
||||
gpg_error_t (*t2body) (void *cookie, int level);
|
||||
|
||||
/* The callback to announce a new part. */
|
||||
|
|
|
@ -114,7 +114,7 @@ gcry_free (void *a)
|
|||
|
||||
|
||||
/* We need this dummy because exechelp.c uses gcry_control to
|
||||
terminate the secure memeory. */
|
||||
terminate the secure memory. */
|
||||
gcry_error_t
|
||||
gcry_control (enum gcry_ctl_cmds cmd, ...)
|
||||
{
|
||||
|
|
|
@ -96,7 +96,7 @@ struct rfc822parse_context
|
|||
void *callback_value;
|
||||
int callback_error;
|
||||
int in_body;
|
||||
int in_preamble; /* Wether we are before the first boundary. */
|
||||
int in_preamble; /* Whether we are before the first boundary. */
|
||||
part_t parts; /* The tree of parts. */
|
||||
part_t current_part; /* Whom we are processing (points into parts). */
|
||||
const char *boundary; /* Current boundary. */
|
||||
|
@ -176,7 +176,7 @@ my_stpcpy (char *a,const char *b)
|
|||
#endif
|
||||
|
||||
|
||||
/* If a callback has been registerd, call it for the event of type
|
||||
/* If a callback has been registered, call it for the event of type
|
||||
EVENT. */
|
||||
static int
|
||||
do_callback (rfc822parse_t msg, rfc822parse_event_t event)
|
||||
|
@ -643,7 +643,7 @@ rfc822parse_get_field (rfc822parse_t msg, const char *name, int which,
|
|||
|
||||
/****************
|
||||
* Enumerate all header. Caller has to provide the address of a pointer
|
||||
* which has to be initialzed to NULL, the caller should then never change this
|
||||
* which has to be initialized to NULL, the caller should then never change this
|
||||
* pointer until he has closed the enumeration by passing again the address
|
||||
* of the pointer but with msg set to NULL.
|
||||
* The function returns pointers to all the header lines or NULL when
|
||||
|
@ -681,7 +681,7 @@ rfc822parse_enum_header_lines (rfc822parse_t msg, void **context)
|
|||
* >0 : Retrieve the n-th field
|
||||
|
||||
* RPREV may be used to return the predecessor of the returned field;
|
||||
* which may be NULL for the very first one. It has to be initialzed
|
||||
* which may be NULL for the very first one. It has to be initialized
|
||||
* to either NULL in which case the search start at the first header line,
|
||||
* or it may point to a headerline, where the search should start
|
||||
*/
|
||||
|
@ -1078,7 +1078,7 @@ is_parameter (TOKEN t)
|
|||
parse context is valid; NULL is returned in case that attr is not
|
||||
defined in the header, a missing value is reppresented by an empty string.
|
||||
|
||||
With LOWER_VALUE set to true, a matching field valuebe be
|
||||
With LOWER_VALUE set to true, a matching field value will be
|
||||
lowercased.
|
||||
|
||||
Note, that ATTR should be lowercase.
|
||||
|
|
|
@ -65,7 +65,7 @@ wks_set_status_fd (int fd)
|
|||
}
|
||||
|
||||
|
||||
/* Write a status line with code NO followed by the outout of the
|
||||
/* Write a status line with code NO followed by the output of the
|
||||
* printf style FORMAT. The caller needs to make sure that LFs and
|
||||
* CRs are not printed. */
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue