[PATCH 4/7] Use notmuch_database_destroy instead of notmuch_database_close

Justus Winter 4winter at informatik.uni-hamburg.de
Sun Apr 22 05:07:54 PDT 2012


Adapt notmuch-deliver to the notmuch_database_close split.

Signed-off-by: Justus Winter <4winter at informatik.uni-hamburg.de>
---
 contrib/notmuch-deliver/src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/notmuch-deliver/src/main.c b/contrib/notmuch-deliver/src/main.c
index 6f32f73..37d2919 100644
--- a/contrib/notmuch-deliver/src/main.c
+++ b/contrib/notmuch-deliver/src/main.c
@@ -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;
 }
-- 
1.7.10



More information about the notmuch mailing list