aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-count.c
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-04-22 14:07:53 +0200
committerGravatar David Bremner <bremner@debian.org>2012-04-28 09:27:33 -0300
commit6f7469f54744656f90ce215f365d5731e16acd3c (patch)
treef2a4e5007173520921d7d5ba99743978a10bdb9d /notmuch-count.c
parent2b3e9ff467d99fe02852cfcc46181c4d29dea99b (diff)
Use notmuch_database_destroy instead of notmuch_database_close
Adapt the notmuch binaries source to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'notmuch-count.c')
-rw-r--r--notmuch-count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-count.c b/notmuch-count.c
index b76690c0..9c2ad7b2 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -107,7 +107,7 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
}
notmuch_query_destroy (query);
- notmuch_database_close (notmuch);
+ notmuch_database_destroy (notmuch);
return 0;
}