notmuch_parse_date: Handle a NULL date string gracefully.
authorCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:24:12 +0000 (13:24 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:24:12 +0000 (13:24 -0700)
commit401c6cc5793331773c0230e8ae00e8c4b0c63a5e
tree89cd27f4eec3b18f5643f794e1ec7aca0ed4df0e
parent8e4e0559e74262c3e24f832e5cf729287be205c7
notmuch_parse_date: Handle a NULL date string gracefully.

The obvious thing to do is to treat a missing date as the beginning
of time. Also, remove a useless cast from another return of 0.
date.c