aboutsummaryrefslogtreecommitdiffhomepage
path: root/database.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-20 09:52:01 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-20 09:52:01 -0700
commited6ee7330d28c65cb3990cbe4a5ac6182bf23402 (patch)
tree51553d3e5e8f132cfac9a62a47257b70af52d9f1 /database.cc
parent5f8d44fa5b2d308b76f6942852d44c9e7ead4005 (diff)
notmuch_message_get_header: Fix bogus return of NULL header.
A simple bug meant that the correct value was being inserted into the hash table, but a NULL value would be returned in some cases. (If the value was already in the hash table at the beginning of the call the the correct value would be returned, but if the function had to parse to reach it then it would return NULL.) This was tripping up the recently-added code to ignore messages with NULL From:, Subject:, and To: headers, (which is fortunate since otherwise the broken parsing might have stayed hidden for longer).
Diffstat (limited to 'database.cc')
0 files changed, 0 insertions, 0 deletions