Rename the global variables to match the MixedCase coding style, e.g.
Spoolfile -> SpoolFile
case MUTT_IMAP:
if (Maildir)
strfcpy(LastDir, NONULL(Maildir), sizeof(LastDir));
- else if (Spoolfile)
- mutt_browser_select_dir(Spoolfile);
+ else if (SpoolFile)
+ mutt_browser_select_dir(SpoolFile);
break;
default:
mutt_browser_select_dir(CurrentFolder);
strfcpy(LastDir, OldLastDir, sizeof(LastDir));
if (examine_directory(menu, &state, LastDir, prefix) == -1)
{
- strfcpy(LastDir, NONULL(Homedir), sizeof(LastDir));
+ strfcpy(LastDir, NONULL(HomeDir), sizeof(LastDir));
goto bail;
}
}
if (*s == '=' || *s == '+' || *s == '!')
{
if (*s == '!')
- p = NONULL(Spoolfile);
+ p = NONULL(SpoolFile);
else
p = NONULL(Maildir);
dirpart[0] = *s;
dirpart[1] = 0;
if (*s == '!')
- strfcpy(exp_dirpart, NONULL(Spoolfile), sizeof(exp_dirpart));
+ strfcpy(exp_dirpart, NONULL(SpoolFile), sizeof(exp_dirpart));
else
strfcpy(exp_dirpart, NONULL(Maildir), sizeof(exp_dirpart));
if ((p = strrchr(s, '/')))
void mutt_clear_error(void)
{
- Errorbuf[0] = 0;
+ ErrorBuf[0] = 0;
if (!option(OPT_NO_CURSES))
mutt_window_clearline(MuttMessageWindow, 0);
}
vsnprintf(scratch, sizeof(scratch), fmt, ap);
mutt_debug(1, "%s\n", scratch);
- mutt_simple_format(Errorbuf, sizeof(Errorbuf), 0, MuttMessageWindow->cols,
+ mutt_simple_format(ErrorBuf, sizeof(ErrorBuf), 0, MuttMessageWindow->cols,
FMT_LEFT, 0, scratch, sizeof(scratch), 0);
if (!option(OPT_KEEP_QUIET))
if (error)
BEEP();
SETCOLOR(error ? MT_COLOR_ERROR : MT_COLOR_MESSAGE);
- mutt_window_mvaddstr(MuttMessageWindow, 0, 0, Errorbuf);
+ mutt_window_mvaddstr(MuttMessageWindow, 0, 0, ErrorBuf);
NORMAL_COLOR;
mutt_window_clrtoeol(MuttMessageWindow);
mutt_refresh();
return;
SETCOLOR(option(OPT_MSG_ERR) ? MT_COLOR_ERROR : MT_COLOR_MESSAGE);
- mutt_window_mvaddstr(MuttMessageWindow, 0, 0, Errorbuf);
+ mutt_window_mvaddstr(MuttMessageWindow, 0, 0, ErrorBuf);
NORMAL_COLOR;
mutt_window_clrtoeol(MuttMessageWindow);
}
WHERE struct Context *Context;
-WHERE char Errorbuf[STRING];
+WHERE char ErrorBuf[STRING];
WHERE char AttachmentMarker[STRING];
WHERE struct Address *EnvFrom;
WHERE char *ForwardAttrTrailer;
WHERE char *ForwFmt;
WHERE char *Fqdn;
-WHERE struct MbCharTable *Fromchars;
+WHERE struct MbCharTable *FromChars;
WHERE char *HdrFmt;
WHERE char *HistFile;
-WHERE char *Homedir;
+WHERE char *HomeDir;
WHERE char *Hostname;
#ifdef USE_IMAP
WHERE char *ImapAuthenticators;
WHERE char *NewMailCmd;
WHERE char *QueryCmd;
WHERE char *QueryFormat;
-WHERE char *Realname;
+WHERE char *RealName;
WHERE short SearchContext;
WHERE char *SendCharset;
WHERE char *Sendmail;
WHERE char *SmtpPass;
WHERE char *SmtpUrl;
#endif /* USE_SMTP */
-WHERE char *Spoolfile;
+WHERE char *SpoolFile;
WHERE char *SpamSep;
#ifdef USE_SSL
WHERE char *SslCertFile;
#endif
WHERE struct MbCharTable *StChars;
WHERE char *Status;
-WHERE char *Tempdir;
-WHERE struct MbCharTable *Tochars;
-WHERE struct MbCharTable *Flagchars;
+WHERE char *TempDir;
+WHERE struct MbCharTable *ToChars;
+WHERE struct MbCharTable *FlagChars;
WHERE char *TrashPath;
WHERE char *TSStatusFormat;
WHERE char *TSIconFormat;
WHERE struct List *InlineExclude;
WHERE struct List *HeaderOrderList;
WHERE struct List *Ignore;
-WHERE struct List *MailtoAllow;
+WHERE struct List *MailToAllow;
WHERE struct List *MimeLookupList;
WHERE struct List *UnIgnore;
[DISP_TO] = "To ", [DISP_CC] = "Cc ", [DISP_BCC] = "Bcc ", [DISP_FROM] = "",
};
- if (!Fromchars || !Fromchars->chars || (Fromchars->len == 0))
+ if (!FromChars || !FromChars->chars || (FromChars->len == 0))
return long_prefixes[disp];
- char *pchar = get_nth_wchar(Fromchars, disp);
+ char *pchar = get_nth_wchar(FromChars, disp);
if (mutt_strlen(pchar) == 0)
return "";
case 'S':
if (hdr->deleted)
- wch = get_nth_wchar(Flagchars, FlagCharDeleted);
+ wch = get_nth_wchar(FlagChars, FlagCharDeleted);
else if (hdr->attach_del)
- wch = get_nth_wchar(Flagchars, FlagCharDeletedAttach);
+ wch = get_nth_wchar(FlagChars, FlagCharDeletedAttach);
else if (hdr->tagged)
- wch = get_nth_wchar(Flagchars, FlagCharTagged);
+ wch = get_nth_wchar(FlagChars, FlagCharTagged);
else if (hdr->flagged)
- wch = get_nth_wchar(Flagchars, FlagCharImportant);
+ wch = get_nth_wchar(FlagChars, FlagCharImportant);
else if (hdr->replied)
- wch = get_nth_wchar(Flagchars, FlagCharReplied);
+ wch = get_nth_wchar(FlagChars, FlagCharReplied);
else if (hdr->read && (ctx && ctx->msgnotreadyet != hdr->msgno))
- wch = get_nth_wchar(Flagchars, FlagCharSEmpty);
+ wch = get_nth_wchar(FlagChars, FlagCharSEmpty);
else if (hdr->old)
- wch = get_nth_wchar(Flagchars, FlagCharOld);
+ wch = get_nth_wchar(FlagChars, FlagCharOld);
else
- wch = get_nth_wchar(Flagchars, FlagCharNew);
+ wch = get_nth_wchar(FlagChars, FlagCharNew);
snprintf(buf2, sizeof(buf2), "%s", wch);
colorlen = add_index_color(dest, destlen, flags, MT_COLOR_INDEX_FLAGS);
case 'T':
snprintf(fmt, sizeof(fmt), "%%%ss", prefix);
snprintf(dest, destlen, fmt,
- (Tochars && ((i = user_is_recipient(hdr))) < Tochars->len) ?
- Tochars->chars[i] :
+ (ToChars && ((i = user_is_recipient(hdr))) < ToChars->len) ?
+ ToChars->chars[i] :
" ");
break;
{
char *ch = NULL;
if (hdr->deleted)
- ch = get_nth_wchar(Flagchars, FlagCharDeleted);
+ ch = get_nth_wchar(FlagChars, FlagCharDeleted);
else if (hdr->attach_del)
- ch = get_nth_wchar(Flagchars, FlagCharDeletedAttach);
+ ch = get_nth_wchar(FlagChars, FlagCharDeletedAttach);
else if (THREAD_NEW)
- ch = get_nth_wchar(Flagchars, FlagCharNewThread);
+ ch = get_nth_wchar(FlagChars, FlagCharNewThread);
else if (THREAD_OLD)
- ch = get_nth_wchar(Flagchars, FlagCharOldThread);
+ ch = get_nth_wchar(FlagChars, FlagCharOldThread);
else if (hdr->read && (ctx && (ctx->msgnotreadyet != hdr->msgno)))
{
if (hdr->replied)
- ch = get_nth_wchar(Flagchars, FlagCharReplied);
+ ch = get_nth_wchar(FlagChars, FlagCharReplied);
else
- ch = get_nth_wchar(Flagchars, FlagCharZEmpty);
+ ch = get_nth_wchar(FlagChars, FlagCharZEmpty);
}
else
{
if (hdr->old)
- ch = get_nth_wchar(Flagchars, FlagCharOld);
+ ch = get_nth_wchar(FlagChars, FlagCharOld);
else
- ch = get_nth_wchar(Flagchars, FlagCharNew);
+ ch = get_nth_wchar(FlagChars, FlagCharNew);
}
snprintf(buf2, sizeof(buf2), "%s", ch);
{
char *ch = NULL;
if (hdr->tagged)
- ch = get_nth_wchar(Flagchars, FlagCharTagged);
+ ch = get_nth_wchar(FlagChars, FlagCharTagged);
else if (hdr->flagged)
- ch = get_nth_wchar(Flagchars, FlagCharImportant);
+ ch = get_nth_wchar(FlagChars, FlagCharImportant);
else
- ch = get_nth_wchar(Tochars, user_is_recipient(hdr));
+ ch = get_nth_wchar(ToChars, user_is_recipient(hdr));
snprintf(buf2, sizeof(buf2), "%s", ch);
src++;
/* New/Old for threads; replied; New/Old for messages */
char *first = NULL;
if (THREAD_NEW)
- first = get_nth_wchar(Flagchars, FlagCharNewThread);
+ first = get_nth_wchar(FlagChars, FlagCharNewThread);
else if (THREAD_OLD)
- first = get_nth_wchar(Flagchars, FlagCharOldThread);
+ first = get_nth_wchar(FlagChars, FlagCharOldThread);
else if (hdr->read && (ctx && (ctx->msgnotreadyet != hdr->msgno)))
{
if (hdr->replied)
- first = get_nth_wchar(Flagchars, FlagCharReplied);
+ first = get_nth_wchar(FlagChars, FlagCharReplied);
else
- first = get_nth_wchar(Flagchars, FlagCharZEmpty);
+ first = get_nth_wchar(FlagChars, FlagCharZEmpty);
}
else
{
if (hdr->old)
- first = get_nth_wchar(Flagchars, FlagCharOld);
+ first = get_nth_wchar(FlagChars, FlagCharOld);
else
- first = get_nth_wchar(Flagchars, FlagCharNew);
+ first = get_nth_wchar(FlagChars, FlagCharNew);
}
/* Marked for deletion; deleted attachments; crypto */
char *second = NULL;
if (hdr->deleted)
- second = get_nth_wchar(Flagchars, FlagCharDeleted);
+ second = get_nth_wchar(FlagChars, FlagCharDeleted);
else if (hdr->attach_del)
- second = get_nth_wchar(Flagchars, FlagCharDeletedAttach);
+ second = get_nth_wchar(FlagChars, FlagCharDeletedAttach);
else if (WithCrypto && (hdr->security & GOODSIGN))
second = "S";
else if (WithCrypto && (hdr->security & ENCRYPT))
/* Tagged, flagged and recipient flag */
char *third = NULL;
if (hdr->tagged)
- third = get_nth_wchar(Flagchars, FlagCharTagged);
+ third = get_nth_wchar(FlagChars, FlagCharTagged);
else if (hdr->flagged)
- third = get_nth_wchar(Flagchars, FlagCharImportant);
+ third = get_nth_wchar(FlagChars, FlagCharImportant);
else
- third = get_nth_wchar(Tochars, user_is_recipient(hdr));
+ third = get_nth_wchar(ToChars, user_is_recipient(hdr));
snprintf(buf2, sizeof(buf2), "%s%s%s", first, second, third);
}
/* on one of the systems I use, getcwd() does not return the same prefix
as is listed in the passwd file */
if ((p = getenv("HOME")))
- Homedir = safe_strdup(p);
+ HomeDir = safe_strdup(p);
/* Get some information about the user */
if ((pw = getpwuid(getuid())))
char rnbuf[STRING];
Username = safe_strdup(pw->pw_name);
- if (!Homedir)
- Homedir = safe_strdup(pw->pw_dir);
+ if (!HomeDir)
+ HomeDir = safe_strdup(pw->pw_dir);
- Realname = safe_strdup(mutt_gecos_name(rnbuf, sizeof(rnbuf), pw));
+ RealName = safe_strdup(mutt_gecos_name(rnbuf, sizeof(rnbuf), pw));
Shell = safe_strdup(pw->pw_shell);
endpwent();
}
else
{
- if (!Homedir)
+ if (!HomeDir)
{
mutt_endwin(NULL);
fputs(_("unable to determine home directory"), stderr);
#endif
if ((p = getenv("MAIL")))
- Spoolfile = safe_strdup(p);
+ SpoolFile = safe_strdup(p);
else if ((p = getenv("MAILDIR")))
- Spoolfile = safe_strdup(p);
+ SpoolFile = safe_strdup(p);
else
{
#ifdef HOMESPOOL
- mutt_concat_path(buffer, NONULL(Homedir), MAILPATH, sizeof(buffer));
+ mutt_concat_path(buffer, NONULL(HomeDir), MAILPATH, sizeof(buffer));
#else
mutt_concat_path(buffer, MAILPATH, NONULL(Username), sizeof(buffer));
#endif
- Spoolfile = safe_strdup(buffer);
+ SpoolFile = safe_strdup(buffer);
}
if ((p = getenv("MAILCAPS")))
"/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap");
}
- Tempdir = safe_strdup((p = getenv("TMPDIR")) ? p : "/tmp");
+ TempDir = safe_strdup((p = getenv("TMPDIR")) ? p : "/tmp");
p = getenv("VISUAL");
if (!p)
* create RFC822-compliant mail messages using the "subject" and "body"
* headers.
*/
- add_to_list(&MailtoAllow, "body");
- add_to_list(&MailtoAllow, "subject");
+ add_to_list(&MailToAllow, "body");
+ add_to_list(&MailToAllow, "subject");
/* Cc, In-Reply-To, and References help with not breaking threading on
* mailing lists, see https://github.com/neomutt/neomutt/issues/115 */
- add_to_list(&MailtoAllow, "cc");
- add_to_list(&MailtoAllow, "in-reply-to");
- add_to_list(&MailtoAllow, "references");
+ add_to_list(&MailToAllow, "cc");
+ add_to_list(&MailToAllow, "in-reply-to");
+ add_to_list(&MailToAllow, "references");
if (!Muttrc)
{
char *xdg_cfg_home = getenv("XDG_CONFIG_HOME");
- if (!xdg_cfg_home && Homedir)
+ if (!xdg_cfg_home && HomeDir)
{
- snprintf(buffer, sizeof(buffer), "%s/.config", Homedir);
+ snprintf(buffer, sizeof(buffer), "%s/.config", HomeDir);
xdg_cfg_home = buffer;
}
- char *config = find_cfg(Homedir, xdg_cfg_home);
+ char *config = find_cfg(HomeDir, xdg_cfg_home);
if (config)
{
Muttrc = mutt_add_list(Muttrc, config);
mutt_exit(1);
}
- mutt_mkdir(Tempdir, S_IRWXU);
+ mutt_mkdir(TempDir, S_IRWXU);
mutt_read_histfile();
{
if (b->magic == MUTT_NOTMUCH)
{
- mutt_str_replace(&Spoolfile, b->path);
+ mutt_str_replace(&SpoolFile, b->path);
mutt_sb_toggle_virtual();
break;
}
** .pp
** This setting defaults to the contents of the environment variable \fC$$$EMAIL\fP.
*/
- { "from_chars", DT_MBCHARTBL, R_BOTH, UL &Fromchars, 0 },
+ { "from_chars", DT_MBCHARTBL, R_BOTH, UL &FromChars, 0 },
/*
** .pp
** Controls the character used to prefix the %F and %L fields in the
** .pp
** If \fIset\fP, all folders are opened in read-only mode.
*/
- { "realname", DT_STR, R_BOTH, UL &Realname, 0 },
+ { "realname", DT_STR, R_BOTH, UL &RealName, 0 },
/*
** .pp
** This variable specifies what ``real'' or ``personal'' name should be used
** match will append to the previous, using this variable's value as a
** separator.
*/
- { "spoolfile", DT_PATH, R_NONE, UL &Spoolfile, 0 },
+ { "spoolfile", DT_PATH, R_NONE, UL &SpoolFile, 0 },
/*
** .pp
** If your spool mailbox is in a non-default place where Mutt cannot find
** .pp
** A value of zero or less will cause Mutt to never time out.
*/
- { "tmpdir", DT_PATH, R_NONE, UL &Tempdir, 0 },
+ { "tmpdir", DT_PATH, R_NONE, UL &TempDir, 0 },
/*
** .pp
** This variable allows you to specify where Mutt will place its
** this variable is not set, the environment variable \fC$$$TMPDIR\fP is
** used. If \fC$$$TMPDIR\fP is not set then ``\fC/tmp\fP'' is used.
*/
- { "to_chars", DT_MBCHARTBL, R_BOTH, UL &Tochars, UL " +TCFL" },
+ { "to_chars", DT_MBCHARTBL, R_BOTH, UL &ToChars, UL " +TCFL" },
/*
** .pp
** Controls the character used to indicate mail addressed to you.
** .dt 6 .dd L .dd Indicates the mail was sent to a mailing-list you subscribe to.
** .de
*/
- { "flag_chars", DT_MBCHARTBL, R_BOTH, UL &Flagchars, UL "*!DdrONon- " },
+ { "flag_chars", DT_MBCHARTBL, R_BOTH, UL &FlagChars, UL "*!DdrONon- " },
/*
** .pp
** Controls the characters used in several flags.
{ "tag-transforms", parse_tag_transforms, 0 },
{ "tag-formats", parse_tag_formats, 0 },
#endif
- { "mailto_allow", parse_list, UL &MailtoAllow },
- { "unmailto_allow", parse_unlist, UL &MailtoAllow },
+ { "mailto_allow", parse_list, UL &MailToAllow },
+ { "unmailto_allow", parse_unlist, UL &MailToAllow },
{ "message-hook", mutt_parse_hook, MUTT_MESSAGEHOOK },
{ "mbox-hook", mutt_parse_hook, MUTT_MBOXHOOK },
{ "mime_lookup", parse_list, UL &MimeLookupList },
set_option(OPT_NEWS);
if (!(CurrentNewsSrv = nntp_select_server(NewsServer, 0)))
{
- mutt_endwin(Errorbuf);
+ mutt_endwin(ErrorBuf);
exit(1);
}
}
if (!folder[0])
{
- if (Spoolfile)
- strfcpy(folder, NONULL(Spoolfile), sizeof(folder));
+ if (SpoolFile)
+ strfcpy(folder, NONULL(SpoolFile), sizeof(folder));
else if (Maildir)
strfcpy(folder, NONULL(Maildir), sizeof(folder));
/* else no folder */
#endif
mutt_free_opts();
mutt_free_windows();
- mutt_endwin(Errorbuf);
+ mutt_endwin(ErrorBuf);
}
exit(0);
char savefile[_POSIX_PATH_MAX];
- snprintf(savefile, sizeof(savefile), "%s/mutt.%s-%s-%u", NONULL(Tempdir),
+ snprintf(savefile, sizeof(savefile), "%s/mutt.%s-%s-%u", NONULL(TempDir),
NONULL(Username), NONULL(Hostname), (unsigned int) getpid());
rename(tempfile, savefile);
mutt_unblock_signals();
unset_option(OPT_MSG_ERR);
}
- if (*Errorbuf)
+ if (*ErrorBuf)
mutt_clear_error();
mutt_window_mvaddstr(menu->messagewin, 0, 0, menu->prompt);
#define IP_PORT_BUFLEN 1024
-static sasl_callback_t mutt_sasl_callbacks[5];
+static sasl_callback_t MuttSaslCallbacks[5];
static sasl_secret_t *secret_ptr = NULL;
{
sasl_callback_t *callback = NULL;
- callback = mutt_sasl_callbacks;
+ callback = MuttSaslCallbacks;
callback->id = SASL_CB_USER;
callback->proc = (int (*)(void)) mutt_sasl_cb_authname;
callback->proc = NULL;
callback->context = NULL;
- return mutt_sasl_callbacks;
+ return MuttSaslCallbacks;
}
/**
/* load entropy from egd sockets */
#ifdef HAVE_RAND_EGD
add_entropy(getenv("EGDSOCKET"));
- snprintf(path, sizeof(path), "%s/.entropy", NONULL(Homedir));
+ snprintf(path, sizeof(path), "%s/.entropy", NONULL(HomeDir));
add_entropy(path);
add_entropy("/tmp/entropy");
#endif
{
strfcpy(prefix, s, sizeof(prefix));
mutt_sanitize_filename(prefix, 1);
- snprintf(s, l, "%s/%s", NONULL(Tempdir), prefix);
+ snprintf(s, l, "%s/%s", NONULL(TempDir), prefix);
if (lstat(s, &sb) == -1 && errno == ENOENT)
return;
{
if (*(s + 1) == '/' || *(s + 1) == 0)
{
- strfcpy(p, NONULL(Homedir), sizeof(p));
+ strfcpy(p, NONULL(HomeDir), sizeof(p));
tail = s + 1;
}
else
}
else
{
- strfcpy(p, NONULL(Spoolfile), sizeof(p));
+ strfcpy(p, NONULL(SpoolFile), sizeof(p));
tail = s + 1;
}
}
void _mutt_mktemp(char *s, size_t slen, const char *prefix, const char *suffix,
const char *src, int line)
{
- size_t n = snprintf(s, slen, "%s/%s-%s-%d-%d-%" PRIu64 "%s%s", NONULL(Tempdir),
+ size_t n = snprintf(s, slen, "%s/%s-%s-%d-%d-%" PRIu64 "%s%s", NONULL(TempDir),
NONULL(prefix), NONULL(Hostname), (int) getuid(), (int) getpid(),
mutt_rand64(), suffix ? "." : "", NONULL(suffix));
if (n >= slen)
*s++ = '=';
memmove(s, s + len, mutt_strlen(s + len) + 1);
}
- else if ((mutt_strncmp(s, Homedir, (len = mutt_strlen(Homedir))) == 0) && s[len] == '/')
+ else if ((mutt_strncmp(s, HomeDir, (len = mutt_strlen(HomeDir))) == 0) && s[len] == '/')
{
*s++ = '~';
memmove(s, s + len - 1, mutt_strlen(s + len - 1) + 1);
}
}
-#define mutt_is_spool(s) (mutt_strcmp(Spoolfile, s) == 0)
+#define mutt_is_spool(s) (mutt_strcmp(SpoolFile, s) == 0)
/**
* mx_lock_file - (try to) lock a file
if (dryrun)
{
- snprintf(tmpdir, sizeof(tmpdir), "%s/mutt-gpgme-XXXXXX", Tempdir);
+ snprintf(tmpdir, sizeof(tmpdir), "%s/mutt-gpgme-XXXXXX", TempDir);
if (!mkdtemp(tmpdir))
{
mutt_debug(1, "Error creating temporary GPGME home\n");
goto finish;
}
- if (mx_open_mailbox(NONULL(Spoolfile), MUTT_APPEND, &ctx) == NULL)
+ if (mx_open_mailbox(NONULL(SpoolFile), MUTT_APPEND, &ctx) == NULL)
goto finish;
delanswer =
/* wait until now to set the real name portion of our return address so
that $realname can be set in a send-hook */
if (msg->env->from && !msg->env->from->personal && !(flags & (SENDRESEND | SENDPOSTPONED)))
- msg->env->from->personal = safe_strdup(Realname);
+ msg->env->from->personal = safe_strdup(RealName);
if (!((WithCrypto & APPLICATION_PGP) && (flags & SENDKEY)))
safe_fclose(&tempfp);
strfcpy(buf, PKGDATADIR "/mime.types", sizeof(buf));
break;
case 3:
- snprintf(buf, sizeof(buf), "%s/.mime.types", NONULL(Homedir));
+ snprintf(buf, sizeof(buf), "%s/.mime.types", NONULL(HomeDir));
break;
default:
mutt_debug(1, "mutt_lookup_mime_type: Internal error, count = %d.\n", count);
* upon message criteria.
*/
if (!from->personal)
- from->personal = safe_strdup(Realname);
+ from->personal = safe_strdup(RealName);
if (fqdn)
rfc822_qualify(from, fqdn);
else if (b->msg_flagged > 0)
SETCOLOR(MT_COLOR_FLAGGED);
else if ((ColorDefs[MT_COLOR_SB_SPOOLFILE] != 0) &&
- (mutt_strcmp(b->path, Spoolfile) == 0))
+ (mutt_strcmp(b->path, SpoolFile) == 0))
SETCOLOR(MT_COLOR_SB_SPOOLFILE);
else
{
* choose to create a message with only a subset of the headers given in
* the URL.
*/
- if (mutt_matches_list(tag, MailtoAllow))
+ if (mutt_matches_list(tag, MailToAllow))
{
if (ascii_strcasecmp(tag, "body") == 0)
{