diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2012-04-22 14:07:53 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-04-28 09:27:33 -0300 |
commit | 6f7469f54744656f90ce215f365d5731e16acd3c (patch) | |
tree | f2a4e5007173520921d7d5ba99743978a10bdb9d /notmuch-new.c | |
parent | 2b3e9ff467d99fe02852cfcc46181c4d29dea99b (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-new.c')
-rw-r--r-- | notmuch-new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c index 473201e9..3ff63047 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -1041,7 +1041,7 @@ notmuch_new_command (void *ctx, int argc, char *argv[]) fprintf (stderr, "Note: A fatal error was encountered: %s\n", notmuch_status_to_string (ret)); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); if (run_hooks && !ret && !interrupted) ret = notmuch_run_hook (db_path, "post-new"); |