Fix broken commit.
authorCarl Worth <cworth@cworth.org>
Tue, 17 Nov 2009 17:04:14 +0000 (09:04 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 17 Nov 2009 17:04:14 +0000 (09:04 -0800)
Oops. I should have actually compiled before pushing.

lib/database.cc

index 583a16edb519e635d960f9dcc3fed58e06dd0ead..3c8d626e93d66aeabc2715a4889aacfe7bffd88a 100644 (file)
@@ -911,7 +911,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
         * (which may or may not reference an existing document in the
         * database). */
 
         * (which may or may not reference an existing document in the
         * database). */
 
-       message = _notmuch_message_create_for_message_id (database,
+       message = _notmuch_message_create_for_message_id (notmuch,
                                                          notmuch,
                                                          message_id,
                                                          &private_status);
                                                          notmuch,
                                                          message_id,
                                                          &private_status);