]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
lib: eliminate fprintf from _notmuch_message_file_open
[notmuch] / lib / database.cc
index 416d99c2bb12eabbb10195b8f84366b2210eb821..cffab62c895b3dd318855ae27445ad55488de97b 100644 (file)
@@ -2314,7 +2314,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
     if (ret)
        return ret;
 
-    message_file = _notmuch_message_file_open (filename);
+    message_file = _notmuch_message_file_open (notmuch, filename);
     if (message_file == NULL)
        return NOTMUCH_STATUS_FILE_ERROR;