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
a1dc0f56
...
a1dc0f56e3b24e7c042ea90f3ace824f156403c8
authored
2007-10-23 21:04:52 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(escape_deadletter): Add missing check.
1 parent
1181f094
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
mail/escape.c
mail/escape.c
View file @
a1dc0f5
...
...
@@ -292,9 +292,12 @@ escape_deadletter (int argc MU_ARG_UNUSED, char **argv MU_ARG_UNUSED,
FILE
*
dead
=
fopen
(
getenv
(
"DEAD"
),
"r"
);
int
c
;
while
((
c
=
fgetc
(
dead
))
!=
EOF
)
fputc
(
c
,
ofile
);
fclose
(
dead
);
if
(
dead
)
{
while
((
c
=
fgetc
(
dead
))
!=
EOF
)
fputc
(
c
,
ofile
);
fclose
(
dead
);
}
return
0
;
}
...
...
Please
register
or
sign in
to post a comment