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
79b0dc3d
...
79b0dc3d9e025d6863ef1d5bbfdcbe7d7026c779
authored
2002-11-03 12:50:32 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed indentation.
1 parent
ba8d24dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
mail.local/main.c
mail.local/main.c
View file @
79b0dc3
...
...
@@ -292,7 +292,8 @@ make_tmp (const char *from, char **tempfile)
}
line
=
0
;
while
(
getline
(
&
buf
,
&
n
,
stdin
)
>
0
)
{
while
(
getline
(
&
buf
,
&
n
,
stdin
)
>
0
)
{
line
++
;
if
(
line
==
1
)
{
...
...
@@ -465,11 +466,13 @@ deliver (FILE *fp, char *name)
n
=
0
;
status
=
0
;
fseek
(
fp
,
0
,
SEEK_SET
);
while
(
getline
(
&
buf
,
&
n
,
fp
)
>
0
)
{
while
(
getline
(
&
buf
,
&
n
,
fp
)
>
0
)
{
status
=
stream_write
(
stream
,
buf
,
strlen
(
buf
),
off
,
&
nwr
);
if
(
status
)
{
mailer_err
(
"error writing to mailbox: %s"
,
mu_errstring
(
status
));
mailer_err
(
"error writing to mailbox: %s"
,
mu_errstring
(
status
));
break
;
}
off
+=
nwr
;
...
...
Please
register
or
sign in
to post a comment