add_message: Fix crash for file recognized as not email.
authorCarl Worth <cworth@cworth.org>
Mon, 9 Nov 2009 21:43:59 +0000 (13:43 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 9 Nov 2009 21:43:59 +0000 (13:43 -0800)
commit39429339624f8d29db8f523d52a81c70001ebebe
treed8123e6f89392294338f07e0912f5c594526dc0f
parent436b8a2fda3f0ba894cfd5f5332557cdff1663b0
add_message: Fix crash for file recognized as not email.

This crash was introduced sometime recently, as previously things
worked fine when notmuch detected that a file is not an email.
We're definitely overdue for that test suite.
database.cc