X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=from.c;h=e63cac6743e577e91b0c614cf749bd498a9f2294;hp=0aa67f519e89706ec30f94e85aae8a98efabf9e3;hb=203e950e3d3c76795fa49895d040f732adad2049;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/from.c b/from.c index 0aa67f5..e63cac6 100644 --- a/from.c +++ b/from.c @@ -38,7 +38,7 @@ static int is_day_name (const char *s) { int i; - if ((strlen (s) < 3) || !*(s + 3) || !ISSPACE (*(s + 3))) + if ((mutt_strlen (s) < 3) || !*(s + 3) || !ISSPACE (*(s + 3))) return 0; for (i = 0; i < 7; i++) if (mutt_strncasecmp (s, Weekdays[i], 3) == 0)