[notmuch] _notmuch_message_create_for_message_id makes extra call to notmuch_database_find_message
keithp at keithp.com
Fri Nov 27 10:10:58 PST 2009
On Fri, 27 Nov 2009 04:46:54 -0800, Carl Worth <cworth at cworth.org> wrote:
> Did the "if" statement immediately afterwards just look like error
> checking? It's not:
Yes, it did (I think my brain may have auto-inserted a '!' there).
Ok, having read the code a bit more carefully, this does look correct.
I have to say that _notmuch_message_create is a bit of a tricky name; as
it doesn't create a message so much as load a message from the database.
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the notmuch