Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
47f26faa
...
47f26faaecf71ffc88640f5b139eaf87e59d68f2
authored
2011-11-01 13:40:32 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mu dbm: minor fix
* mu/dbm.c (add_records): Initialize format.
1 parent
fc93493b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
mu/dbm.c
mu/dbm.c
View file @
47f26fa
...
...
@@ -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 */
...
...
Please
register
or
sign in
to post a comment