]> git.notmuchmail.org Git - notmuch/commitdiff
Use notmuch_database_destroy instead of notmuch_database_close
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Sun, 22 Apr 2012 12:07:54 +0000 (14:07 +0200)
committerDavid Bremner <bremner@debian.org>
Sat, 28 Apr 2012 12:29:12 +0000 (09:29 -0300)
Adapt notmuch-deliver to the notmuch_database_close split.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
contrib/notmuch-deliver/src/main.c

index 6f32f73d68b97decbe382b3dc84cffc3e99f259d..37d2919a54620e1088fe2100292bb0af3c9d406e 100644 (file)
@@ -455,7 +455,7 @@ main(int argc, char **argv)
        g_strfreev(opt_rtags);
        g_free(mail);
 
-       notmuch_database_close(db);
+       notmuch_database_destroy(db);
 
        return 0;
 }