]> rtime.felk.cvut.cz Git - notmuch.git/commit
lib: Handle empty date value
authorAustin Clements <amdragon@mit.edu>
Mon, 6 Oct 2014 23:17:09 +0000 (17:17 -0600)
committerDavid Bremner <david@tethera.net>
Sat, 11 Oct 2014 05:10:12 +0000 (07:10 +0200)
commit7487e2e2214b27407e542df164a4d23520bbd8d8
treeb92f7510030dba44749eaff48a331291b751d067
parent46b1b035a5b82379706b9adee78568738f135123
lib: Handle empty date value

In the interest of robustness, avoid undefined behavior of
sortable_unserialise if the date value is missing.  This shouldn't
happen now, but ghost messages will have blank date values.
lib/message.cc