]> granicus.if.org Git - neomutt/commitdiff
fix typos
authorRichard Russon <rich@flatcap.org>
Tue, 14 Nov 2017 00:39:58 +0000 (00:39 +0000)
committerRichard Russon <rich@flatcap.org>
Wed, 15 Nov 2017 15:12:11 +0000 (15:12 +0000)
13 files changed:
conn/ssl.c
conn/tunnel.c
curs_lib.c
hcache/hcache.c
hcache/qdbm.c
imap/command.c
imap/message.c
init.h
lib/file.c
lib/string.c
opcodes.h
remailer.c
rfc1524.c

index dd0995e3fead478bd00d832b19d6399b84ab3fda..a0a2112ccbef6612c36a5b664c91894b32ddffa1 100644 (file)
@@ -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
  *
index 84463a5de8000398f9f226027fd1e680590fa6bd..86ea547e14501b548d63fad2980f27274d70665c 100644 (file)
@@ -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.
  */
index 1483e766cf66d06da983df3968be7c57eda48d98..1f19f87ad9363c23da40541b87797300372516ea 100644 (file)
@@ -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
index 1e2d02d437bf77b22a78cd4a819fa54f53fac3c5..03ee012cf07b6b77295cb2a78d8cde645d9bb58b 100644 (file)
@@ -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)
 {
index 7370915aebdfdf1013a6a33e7bb0d5a76e31d10b..7c3ba5edaaa5ef503efeda1255523e26cd054459 100644 (file)
@@ -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;
index 02fe291360670a5fc15edd59fddc33a738eab2db..c064098b32b49a1307124ba064027ebcf125ad35 100644 (file)
@@ -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.
  *
index fd09adfee1cda8585f5634532fad977716cb1dc4..937662cf00de64dadcdf9f5ea469574f2fc2cda8 100644 (file)
@@ -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 650241ae2fedab993fa9b37592d5161bb0438873..ca0a50046d5b0c0ad8b78353172479b0bf5098de 100644 (file)
--- 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
index a09055d05af470241298353d3476c94d91fd7a53..7c9e4a6ca282b408d3e95d3e0d40bfd5f25c297a 100644 (file)
@@ -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)
index 2d78065b194f99860fce2eaf2f97b27c508119ed..3072dd5c75cadbc475afb7eef05d847f15287222 100644 (file)
@@ -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
  *
index 2187b8997a87eba6d6af6d1ce0a00c5f090c7c2a..fdaf85743a3426d4b9febb0b1ce1693b84f2e5a0 100644 (file)
--- 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 <damien.riegel@gmail.com>
   _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")) \
index c366d42779dd661e9a02ea9f593da9401fc4adeb..a6ac93b25a4211a19248f798a15bd358a549c3cc 100644 (file)
@@ -48,7 +48,7 @@
 #include "rfc822.h"
 
 /**
- * struct Coord - Screen coordindates
+ * struct Coord - Screen coordinates
  */
 struct Coord
 {
index 4e4dab31e5c54ff383382233c253347d25805953..125b920a6a8ed23e3163e94ec6b530b38f31a3c6 100644 (file)
--- 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