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
516f6b39
...
516f6b3976e4477e911a71f21671c2416e17bfbf
authored
2006-05-21 21:54:04 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mbox_is_updated): Return 1 (not updated) if unable to measure stream size.
1 parent
f45e53f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
libproto/mbox/mbox.c
libproto/mbox/mbox.c
View file @
516f6b3
...
...
@@ -362,7 +362,7 @@ mbox_is_updated (mu_mailbox_t mailbox)
mu_off_t
size
=
0
;
mbox_data_t
mud
=
mailbox
->
data
;
if
(
mu_stream_size
(
mailbox
->
stream
,
&
size
)
!=
0
)
return
0
;
return
1
;
if
(
size
<
mud
->
size
)
{
mu_observable_notify
(
mailbox
->
observable
,
MU_EVT_MAILBOX_CORRUPT
);
...
...
Please
register
or
sign in
to post a comment