commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. release-2.2-419-g47f26fa


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-419-g47f26fa
Date: Tue, 01 Nov 2011 11:41:19 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=47f26faaecf71ffc88640f5b139eaf87e59d68f2

The branch, master has been updated
       via  47f26faaecf71ffc88640f5b139eaf87e59d68f2 (commit)
      from  fc93493b146bd36a01cd689c08a4ddaf95231517 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 47f26faaecf71ffc88640f5b139eaf87e59d68f2
Author: Sergey Poznyakoff <address@hidden>
Date:   Tue Nov 1 13:40:32 2011 +0200

    mu dbm: minor fix
    
    * mu/dbm.c (add_records): Initialize format.

-----------------------------------------------------------------------

Summary of changes:
 mu/dbm.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/mu/dbm.c b/mu/dbm.c
index 9cf3556..8a9995b 100644
--- a/mu/dbm.c
+++ b/mu/dbm.c
@@ -318,7 +318,8 @@ static int format_count = MU_ARRAY_SIZE (format_tab) - 1;
                                                     
 #define DEFAULT_LIST_FORMAT (&format_tab[0])
 #define DEFAULT_DUMP_FORMAT (&format_tab[1])
-                                                    
+#define DEFAULT_LOAD_FORMAT (&format_tab[0])
+
 static struct xfer_format *format;
 static const char *dump_format_version;
 
@@ -1244,6 +1245,8 @@ add_records (int mode, int replace)
   if (wsflags & MU_WRDSF_REUSE)
     mu_wordsplit_free (&ws);
 
+  if (!format)
+    format = DEFAULT_LOAD_FORMAT;
   init_format (1, &input);
   
   /* Open the database */


hooks/post-receive
-- 
GNU Mailutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]