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
0fe4b389
...
0fe4b389fd8317f846ec03c8635e8c9c867bed7a
authored
2002-11-05 21:52:14 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(make_tmp): Initialize auth to NULL.
1 parent
3d029eee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
mail.local/main.c
mail.local/main.c
View file @
0fe4b38
...
...
@@ -292,9 +292,10 @@ make_tmp (const char *from, char **tempfile)
char
*
buf
=
NULL
;
size_t
n
=
0
;
int
line
;
*
tempfile
=
mu_tempname
(
NULL
);
fp
=
fopen
(
*
tempfile
,
"w+"
);
if
(
fp
==
NULL
)
{
mailer_err
(
"unable to open temporary file"
);
...
...
@@ -309,7 +310,7 @@ make_tmp (const char *from, char **tempfile)
{
if
(
memcmp
(
buf
,
"From "
,
5
))
{
struct
mu_auth_data
*
auth
;
struct
mu_auth_data
*
auth
=
NULL
;
if
(
!
from
)
{
auth
=
mu_get_auth_by_uid
(
uid
);
...
...
Please
register
or
sign in
to post a comment