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
1c1ea526
...
1c1ea526c72657a6f0b825ee2a6ddb7a5dad6e9b
authored
2008-02-06 12:40:20 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(read_bulletin_db): Return success if db does not exist.
1 parent
a1bf4e21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
pop3d/bulletin.c
pop3d/bulletin.c
View file @
1c1ea52
...
...
@@ -130,9 +130,17 @@ read_bulletin_db (size_t *pnum)
rc
=
mu_dbm_open
(
bulletin_db_name
,
&
db
,
MU_STREAM_READ
,
0660
);
if
(
rc
)
{
mu_error
(
_
(
"Unable to open bulletin db for reading: %s"
),
mu_strerror
(
errno
));
return
rc
;
if
(
errno
==
ENOENT
)
{
*
pnum
=
0
;
return
0
;
}
else
{
mu_error
(
_
(
"Unable to open bulletin db for reading: %s"
),
mu_strerror
(
errno
));
return
rc
;
}
}
memset
(
&
key
,
0
,
sizeof
key
);
...
...
Please
register
or
sign in
to post a comment