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
5558a712
...
5558a712b07dade6f471680921b714eb55aec607
authored
2006-01-20 13:22:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mbox_append_message0): Preserve return status from mu_stream_write, if it is not 0.
1 parent
9a634b93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mailbox/mbox/mbox.c
mailbox/mbox/mbox.c
View file @
5558a71
...
...
@@ -1721,10 +1721,10 @@ mbox_append_message0 (mu_mailbox_t mailbox, mu_message_t msg, mu_off_t *psize,
*
psize
+=
n
;
}
while
(
nread
>
0
);
n
=
0
;
status
=
mu_stream_write
(
mailbox
->
stream
,
&
nl
,
1
,
*
psize
,
&
n
);
if
(
status
)
break
;
status
=
mu_stream_write
(
mailbox
->
stream
,
&
nl
,
1
,
*
psize
,
&
n
);
if
(
status
==
0
)
*
psize
+=
n
;
}
...
...
Please
register
or
sign in
to post a comment