aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.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-restore.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-restore.c')
-rw-r--r--notmuch-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c
index d3b92462..02b563ca 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -192,7 +192,7 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
if (line)
free (line);
- notmuch_database_close (notmuch);
+ notmuch_database_destroy (notmuch);
if (input != stdin)
fclose (input);