X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=757c34fdaeb7255bbf230202fdfa98009521fc17;hp=a36e8da115a6cd1d935c82bded48501150b2e573;hb=23265c6d12ecb744cb38689e9d78a448089ac351;hpb=2a0e5679311c156ba6e559336f80ec0077f4c571 diff --git a/muttlib.c b/muttlib.c index a36e8da..757c34f 100644 --- a/muttlib.c +++ b/muttlib.c @@ -1302,7 +1302,7 @@ const char *mutt_make_version (int full) if (full) snprintf (vstring, sizeof (vstring), "Mutt-ng %s-r%s (based " - "on Mutt 1.5.10/%s)", MUTT_VERSION, MUTT_REVISION, + "on Mutt 1.5.11/%s)", MUTT_VERSION, MUTT_REVISION, ReleaseDate); else snprintf (vstring, sizeof (vstring), "mutt-ng/%s-r%s", @@ -1354,7 +1354,7 @@ int mutt_match_spam_list (const char *s, SPAM_LIST * l, char *text, int x) for (p = l->template; *p;) { if (*p == '%') { n = atoi (++p); /* find pmatch index */ - while (isdigit (*p)) + while (isdigit ((unsigned char) *p)) ++p; /* skip subst token */ for (i = pmatch[n].rm_so; (i < pmatch[n].rm_eo) && (tlen < x); i++) text[tlen++] = s[i];