X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pattern.c;fp=pattern.c;h=7744e95222278cc3d25fa9a49945ebdb9c9fb17d;hp=6e213a26a2ce404994f1977242999b14377dc8f4;hb=11ebd35cdf53f877efb11ed1ce9ccb771d2a091c;hpb=7fa3478438501dbc2000dd65675b2c4bb8565190;ds=sidebyside diff --git a/pattern.c b/pattern.c index 6e213a2..7744e95 100644 --- a/pattern.c +++ b/pattern.c @@ -384,8 +384,8 @@ static const char *get_offset (struct tm *tm, const char *s, int sign) default: return s; } - mutt_normalize_time (tm); - return (ps + 1); + mktime(tm); + return ps + 1; } static void adjust_date_range (struct tm *min, struct tm *max) @@ -602,8 +602,8 @@ static int eat_date (pattern_t * pat, BUFFER * s, BUFFER * err) /* Since we allow two dates to be specified we'll have to adjust that. */ adjust_date_range (&min, &max); - pat->min = mutt_mktime (&min, 1); - pat->max = mutt_mktime (&max, 1); + pat->min = mktime(&min); + pat->max = mktime(&max); p_delete(&buffer.data);