mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 610db145824459a0a77f96dc827831883490b77d
parent a2dc56cd0e697de7496abb4b8804e81c6d251fd5
Author: Duncaen <mail@duncano.de>
Date:   Fri, 29 Jul 2016 02:20:24 +0200

mpick: fix date expressions

Diffstat:
mpick.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mpick.c b/mpick.c @@ -827,7 +827,7 @@ eval(struct expr *e, struct mailinfo *m) case PROP_MTIME: v = m->sb->st_mtime; break; case PROP_REPLIES: v = m->replies; break; case PROP_SIZE: v = m->sb->st_size; break; - case PROP_DATE: v = msg_date(m); + case PROP_DATE: v = msg_date(m); break; case PROP_FLAG: v = m->flags; break; case PROP_INDEX: v = m->index; break; case PROP_DEPTH: v = m->depth; break; @@ -1078,6 +1078,7 @@ main(int argc, char *argv[]) int c; argv0 = argv[0]; + now = time(0); while ((c = getopt(argc, argv, "Tt:")) != -1) switch (c) {