X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=from.c;h=712205238cd96632327da1100bf0fd99b4511826;hp=87c44a05bbbc02029f6a13df697e4f1b6ca7c0ad;hb=24a996896edb7b7fc8f5fd5950a07c4a52a42d05;hpb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c diff --git a/from.c b/from.c index 87c44a0..7122052 100644 --- a/from.c +++ b/from.c @@ -11,23 +11,21 @@ # include "config.h" #endif +#include +#include + #include #include #include #include "mutt.h" -#include "lib/debug.h" - -#include -#include - -static const char *next_word (const char *s) +static const char *next_word(const char *s) { - while (*s && !ISSPACE (*s)) - s++; - SKIPWS (s); - return s; + while (*s && !ISSPACE(*s)) + s++; + s = skipspaces(s); + return s; } int mutt_check_month (const char *s) @@ -58,7 +56,7 @@ static int is_day_name (const char *s) * From [ ]