[PATCH v2 6/6] lib: eliminate fprintf from _notmuch_message_file_open

2014-12-27 Thread David Bremner
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. The remaining fprintf is removed by Jani's series un-de

[PATCH v2 6/6] lib: eliminate fprintf from _notmuch_message_file_open

2014-12-27 Thread David Bremner
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. The remaining fprintf is removed by Jani's series un-de