/* Checks the specified maildir subdir (cur or new) for new mail or mail counts.
* check_new: if true, check for new mail.
- * check_stats: if true, count total, new, and flagged mesages.
+ * check_stats: if true, count total, new, and flagged messages.
* Returns 1 if the dir has new mail.
*/
static int buffy_maildir_check_dir (BUFFY* mailbox, const char *dir_name, int check_new,
}
/* Checks new mail for a maildir mailbox.
- * check_stats: if true, also count total, new, and flagged mesages.
+ * check_stats: if true, also count total, new, and flagged messages.
* Returns 1 if the mailbox has new mail.
*/
static int buffy_maildir_check (BUFFY* mailbox, int check_stats)
}
/* Checks new mail for an mbox mailbox
- * check_stats: if true, also count total, new, and flagged mesages.
+ * check_stats: if true, also count total, new, and flagged messages.
* Returns 1 if the mailbox has new mail.
*/
static int buffy_mbox_check (BUFFY* mailbox, struct stat *sb, int check_stats)
#set fast_reply # skip initial prompts when replying
#set fcc_attach # keep attachments in copies of sent messages?
#set force_name # fcc by recipient, create if mailbox doesn't exist
-#set forward_decode # weed and MIME decode forwaded messages
+#set forward_decode # weed and MIME decode forwarded messages
#set forward_format="[%a: %s]" # subject to use when forwarding messages
#set forward_quote # quote the header and body of forward msgs
#set index_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s"
typedef void (*crypt_func_set_sender_t) (const char *sender);
/*
- A structure to keep all crypto module fucntions together.
+ A structure to keep all crypto module functions together.
*/
typedef struct crypt_module_functions
{
/* free tmp_body if messages was signed AND encrypted ... */
if (tmp_smime_pbody != msg->content && tmp_smime_pbody != tmp_pbody)
{
- /* detatch and don't delete msg->content,
+ /* detach and don't delete msg->content,
which tmp_smime_pbody->parts after signing. */
tmp_smime_pbody->parts = tmp_smime_pbody->parts->next;
msg->content->next = NULL;
</para>
<para>
-Special attention has to be payed when using regular expressions inside
+Special attention has to be paid when using regular expressions inside
of patterns. Specifically, Mutt's parser for these patterns will strip
one level of backslash (<quote>\</quote>), which is normally used for
quoting. If it is your intention to use a backslash in the regular
return hcpath;
}
-/* This function transforms a header into a char so that it is useable by
+/* This function transforms a header into a char so that it is usable by
* db_store.
*/
static void *
AliasFile = safe_strdup (Muttrc);
}
- /* Process the global rc file if it exists and the user hasn't explicity
+ /* Process the global rc file if it exists and the user hasn't explicitly
requested not to via "-n". */
if (!skip_sys_rc)
{
/* When this is a SUID binary we must not allow accessing files
outside the dedicated directories. */
if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale))
- /* Ingore this entry. */
+ /* Ignore this entry. */
continue;
}
#endif
-/* For automatical extraction of messages sometimes no real
+/* For automatic extraction of messages sometimes no real
translation is needed. Instead the string itself is the result. */
#define gettext_noop(Str) (Str)
}
/* Checks new mail for a mh mailbox.
- * check_stats: if true, also count total, new, and flagged mesages.
+ * check_stats: if true, also count total, new, and flagged messages.
* Returns 1 if the mailbox has new mail.
*/
int mh_buffy (BUFFY *mailbox, int check_stats)
/*
* The maildir specification requires that all files in the cur
- * subdirectory have the :unique string appeneded, regardless of whether
+ * subdirectory have the :unique string appended, regardless of whether
* or not there are any flags. If .old is set, we know that this message
* will end up in the cur directory, so we include it in the following
* test even though there is no associated flag.
struct parameter *next;
} PARAMETER;
-/* Information that helps in determing the Content-* of an attachment */
+/* Information that helps in determining the Content-* of an attachment */
typedef struct content
{
long hibin; /* 8-bit characters */
* Even though only OpenSSL 0.9.5 and later will complain about the
* lack of entropy, we try to our best and fill the pool with older
* versions also. (That's the reason for the ugly #ifdefs and macros,
- * otherwise I could have simply #ifdef'd the whole ssl_init funcion)
+ * otherwise I could have simply #ifdef'd the whole ssl_init function)
*/
static int ssl_init (void)
{
resolve_color (struct line_t *lineInfo, int n, int cnt, int flags, int special,
ansi_attr *a)
{
- int def_color; /* color without syntax hilight */
+ int def_color; /* color without syntax highlight */
int color; /* final color */
static int last_color; /* last color set */
int search = 0, i, m;
{
if (ctx)
{
- /* if a mailbox is currently open, look to see if the orignal message
+ /* if a mailbox is currently open, look to see if the original message
the user attempted to reply to is in this mailbox */
p = skip_email_wsp(tmp->data + 18);
if (!ctx->id_hash)
}
}
- /* opportunistic encrypt relys on SMIME or PGP already being selected */
+ /* opportunistic encrypt relies on SMIME or PGP already being selected */
if (option (OPTCRYPTOPPORTUNISTICENCRYPT))
{
/* If something has already enabled encryption, e.g. OPTCRYPTAUTOENCRYPT
* */
mutt_write_rfc822_header (msg->fp, hdr->env, hdr->content, post ? -post : 0, 0);
- /* (postponment) if this was a reply of some sort, <msgid> contians the
+ /* (postponment) if this was a reply of some sort, <msgid> contains the
* Message-ID: of message replied to. Save it using a special X-Mutt-
* header so it can be picked up if the message is recalled at a later
* point in time. This will allow the message to be marked as replied if
label : keyID required. changes/removes/adds label.
remove : keyID required.
verify : 1=keyID and optionally 2=CRL
- Verifies the certificate chain, and optionally wether
+ Verifies the certificate chain, and optionally whether
this certificate is included in supplied CRL (PEM format).
Note: to verify all certificates at the same time,
replace keyID with "all"
my $format = openssl_format($filename);
my @args = ("x509", "-in", $filename, "-inform", $format);
my $output = join("", openssl_exec(@args));
- $? and die "openssl x509 certicate dump returned $?";
+ $? and die "openssl x509 certificate dump returned $?";
return $output;
}
return (subjects);
}
-/* find the best possible match for a parent mesage based upon subject.
+/* find the best possible match for a parent message based upon subject.
* if there are multiple matches, the one which was sent the latest, but
* before the current message, is used.
*/