lib: eliminate fprintf from _notmuch_message_file_open
authorDavid Bremner <david@tethera.net>
Fri, 26 Dec 2014 17:34:49 +0000 (18:34 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 28 Mar 2015 23:34:15 +0000 (00:34 +0100)
commit9d192da683b0656e37fc8d69c69698ca605926b3
tree83434ee169901d44821ce11e406d6363cfe1afc8
parent736ac26407914425a9c94e86616225292cf716dd
lib: eliminate fprintf from _notmuch_message_file_open

You may wonder why _notmuch_message_file_open_ctx has two parameters.
This is because we need sometime to use a ctx which is a
notmuch_message_t. While we could get the database from this, there is
no easy way in C to tell type we are getting.
lib/database.cc
lib/message-file.c
lib/message.cc
lib/notmuch-private.h