From 9e43968e972db30288f6c50f5fb8a588da9090ae Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 21 Mar 2012 01:55:08 +0100 Subject: [PATCH] [PATCH 4/7] Use notmuch_database_destroy instead of notmuch_database_close --- 76/bf57ab8424dedfa40bfe4a8b0297c5fbd72328 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 76/bf57ab8424dedfa40bfe4a8b0297c5fbd72328 diff --git a/76/bf57ab8424dedfa40bfe4a8b0297c5fbd72328 b/76/bf57ab8424dedfa40bfe4a8b0297c5fbd72328 new file mode 100644 index 000000000..763c0c8eb --- /dev/null +++ b/76/bf57ab8424dedfa40bfe4a8b0297c5fbd72328 @@ -0,0 +1,85 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 02AD3431FD7 + for ; Tue, 20 Mar 2012 17:55:44 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ETDHyjEvasJw for ; + Tue, 20 Mar 2012 17:55:43 -0700 (PDT) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id CF82C431FCF + for ; Tue, 20 Mar 2012 17:55:40 -0700 (PDT) +Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 4B39B57678D + for ; Wed, 21 Mar 2012 01:55:39 +0100 (CET) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id B7D94DF2A1; Wed, 21 Mar 2012 01:55:38 +0100 (CET) +Received: from thinkbox.jade-hamburg.de (unknown [10.1.1.153]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) (Authenticated sender: teythoon) + by mail.jade-hamburg.de (Postfix) with ESMTPSA id 27F5CDF2A4; + Wed, 21 Mar 2012 01:55:27 +0100 (CET) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1SA9pl-0007vG-3t; Wed, 21 Mar 2012 01:55:25 +0100 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +To: notmuch@notmuchmail.org +Subject: [PATCH 4/7] Use notmuch_database_destroy instead of + notmuch_database_close +Date: Wed, 21 Mar 2012 01:55:08 +0100 +Message-Id: + <1332291311-28954-5-git-send-email-4winter@informatik.uni-hamburg.de> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: + <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de> +References: + <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 21 Mar 2012 00:55:44 -0000 + +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 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +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.9.1 + -- 2.26.2