From 0f55efa503b04a3535ab7f3764e7d54385433898 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Tue, 14 Nov 2017 00:39:58 +0000 Subject: [PATCH] fix typos --- conn/ssl.c | 2 +- conn/tunnel.c | 2 +- curs_lib.c | 2 +- hcache/hcache.c | 2 +- hcache/qdbm.c | 4 ++-- imap/command.c | 2 +- imap/message.c | 2 +- init.h | 2 +- lib/file.c | 2 +- lib/string.c | 4 ++-- opcodes.h | 6 +++--- remailer.c | 2 +- rfc1524.c | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-) diff --git a/conn/ssl.c b/conn/ssl.c index dd0995e3f..a0a2112cc 100644 --- a/conn/ssl.c +++ b/conn/ssl.c @@ -587,7 +587,7 @@ static bool hostname_match(const char *hostname, const char *certname) } /** - * ssl_init - Initialist the SSL library + * ssl_init - Initialise the SSL library * @retval 0 Success * @retval -1 Error * diff --git a/conn/tunnel.c b/conn/tunnel.c index 84463a5de..86ea547e1 100644 --- a/conn/tunnel.c +++ b/conn/tunnel.c @@ -241,7 +241,7 @@ static int tunnel_socket_poll(struct Connection *conn, time_t wait_secs) /** * mutt_tunnel_socket_setup - setups tunnel connection functions. - * @param conn Connection to asign functions to + * @param conn Connection to assign functions to * * Assign tunnel socket functions to the Connection conn. */ diff --git a/curs_lib.c b/curs_lib.c index 1483e766c..1f19f87ad 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -1343,7 +1343,7 @@ void mutt_paddstr(int n, const char *s) /** * mutt_wstr_trunc - Work out how to truncate a widechar string - * @param[in] src String to measute + * @param[in] src String to measure * @param[in] maxlen Maximum length of string in bytes * @param[in] maxwid Maximum width in screen columns * @param[out] width Save the truncated screen column width diff --git a/hcache/hcache.c b/hcache/hcache.c index 1e2d02d43..03ee012cf 100644 --- a/hcache/hcache.c +++ b/hcache/hcache.c @@ -587,7 +587,7 @@ static bool create_hcache_dir(const char *path) * If @a path exists and is a directory, it is used. * If @a path has a trailing '/' it is assumed to be a directory. * If ICONV isn't being used, then a suffix is added to the path, e.g. '-utf-8'. - * Otherise @a path is assumed to be a file. + * Otherwise @a path is assumed to be a file. */ static const char *hcache_per_folder(const char *path, const char *folder, hcache_namer_t namer) { diff --git a/hcache/qdbm.c b/hcache/qdbm.c index 7370915ae..7c3ba5eda 100644 --- a/hcache/qdbm.c +++ b/hcache/qdbm.c @@ -68,7 +68,7 @@ static int hcache_qdbm_store(void *ctx, const char *key, size_t keylen, void *da return -1; VILLA *db = ctx; - /* Not sure if dbecode is reset on success, so better to explicitely return 0 + /* Not sure if dbecode is reset on success, so better to explicitly return 0 * on success */ bool success = vlput(db, key, keylen, data, dlen, VL_DOVER); return success ? 0 : dpecode ? dpecode : -1; @@ -80,7 +80,7 @@ static int hcache_qdbm_delete(void *ctx, const char *key, size_t keylen) return -1; VILLA *db = ctx; - /* Not sure if dbecode is reset on success, so better to explicitely return 0 + /* Not sure if dbecode is reset on success, so better to explicitly return 0 * on success */ bool success = vlout(db, key, keylen); return success ? 0 : dpecode ? dpecode : -1; diff --git a/imap/command.c b/imap/command.c index 02fe29136..c064098b3 100644 --- a/imap/command.c +++ b/imap/command.c @@ -66,7 +66,7 @@ #define IMAP_CMD_BUFSIZE 512 /** - * Capabilities - Server capabilties strings that we understand + * Capabilities - Server capabilities strings that we understand * * @note This must be kept in the same order as ImapCaps. * diff --git a/imap/message.c b/imap/message.c index fd09adfee..937662cf0 100644 --- a/imap/message.c +++ b/imap/message.c @@ -1223,7 +1223,7 @@ int imap_close_message(struct Context *ctx, struct Message *msg) * @param ctx Context * @param msg Email info * @retval 0 Success - * @retval EOF fclose() failured, see errno + * @retval EOF fclose() failed, see errno * @retval -1 Failure */ int imap_commit_message(struct Context *ctx, struct Message *msg) diff --git a/init.h b/init.h index 650241ae2..ca0a50046 100644 --- a/init.h +++ b/init.h @@ -3939,7 +3939,7 @@ struct Option MuttVars[] = { { "ssl_ciphers", DT_STRING, R_NONE, UL &SslCiphers, UL 0 }, /* ** .pp - ** Contains a colon-seperated list of ciphers to use when using SSL. + ** Contains a colon-separated list of ciphers to use when using SSL. ** For OpenSSL, see ciphers(1) for the syntax of the string. ** .pp ** For GnuTLS, this option will be used in place of "NORMAL" at the diff --git a/lib/file.c b/lib/file.c index a09055d05..7c9e4a6ca 100644 --- a/lib/file.c +++ b/lib/file.c @@ -111,7 +111,7 @@ static bool compare_stat(struct stat *osb, struct stat *nsb) * @param nflen Length of new filename * @param newdir New directory name * @param ndlen Length of new directory name - * @retval 0 Succes 0 Success + * @retval 0 Success * @retval -1 Error */ static int mkwrapdir(const char *path, char *newfile, size_t nflen, char *newdir, size_t ndlen) diff --git a/lib/string.c b/lib/string.c index 2d78065b1..3072dd5c7 100644 --- a/lib/string.c +++ b/lib/string.c @@ -252,8 +252,8 @@ void mutt_str_replace(char **p, const char *s) } /** - * mutt_str_append_item - Add string to another seprated by sep - * @param str String appened + * mutt_str_append_item - Add string to another separated by sep + * @param str String appended * @param item String to append * @param sep separator between string item * diff --git a/opcodes.h b/opcodes.h index 2187b8997..fdaf85743 100644 --- a/opcodes.h +++ b/opcodes.h @@ -1,6 +1,6 @@ /** * @file - * GUI display the mailboxes in a side panel + * All user-callable functions * * @authors * Copyright (C) 2017 Damien Riegel @@ -234,8 +234,8 @@ _fmt(OP_MAIN_SHOW_LIMIT, N_("show currently active limit pattern")) \ _fmt(OP_MAIN_COLLAPSE_THREAD, N_("collapse/uncollapse current thread")) \ _fmt(OP_MAIN_COLLAPSE_ALL, N_("collapse/uncollapse all threads")) \ - _fmt(OP_MAIN_MODIFY_TAGS, N_("modify (notmuch/imap) tags")) \ - _fmt(OP_MAIN_MODIFY_TAGS_THEN_HIDE, N_("modify (notmuch/imap) tags and then hide message")) \ + _fmt(OP_MAIN_MODIFY_TAGS, N_("modify (notmuch/imap) tags")) \ + _fmt(OP_MAIN_MODIFY_TAGS_THEN_HIDE, N_("modify (notmuch/imap) tags and then hide message")) \ #define OPS_CRYPT(_fmt) \ _fmt(OP_DECRYPT_SAVE, N_("make decrypted copy and delete")) \ diff --git a/remailer.c b/remailer.c index c366d4277..a6ac93b25 100644 --- a/remailer.c +++ b/remailer.c @@ -48,7 +48,7 @@ #include "rfc822.h" /** - * struct Coord - Screen coordindates + * struct Coord - Screen coordinates */ struct Coord { diff --git a/rfc1524.c b/rfc1524.c index 4e4dab31e..125b920a6 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -389,7 +389,7 @@ void rfc1524_free_entry(struct Rfc1524MailcapEntry **entry) * @param type Text type in "type/subtype" format * @param entry struct Rfc1524MailcapEntry to populate with results * @param opt Type of mailcap entry to lookup - * @retval 1 on success. If *entry is not NULL it poplates it with the mailcap entry + * @retval 1 on success. If *entry is not NULL it populates it with the mailcap entry * @retval 0 if no matching entry is found * * opt can be one of: #MUTT_EDIT, #MUTT_COMPOSE, #MUTT_PRINT, #MUTT_AUTOVIEW -- 2.40.0