summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-05 21:52:14 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-05 21:52:14 +0000
commit0fe4b389fd8317f846ec03c8635e8c9c867bed7a (patch)
tree61585a6a32cc967507b951f7bdc4f2327f79c638
parent3d029eeeddba6d8fd8c3a0af4333157c65e57417 (diff)
downloadmailutils-0fe4b389fd8317f846ec03c8635e8c9c867bed7a.tar.gz
mailutils-0fe4b389fd8317f846ec03c8635e8c9c867bed7a.tar.bz2
(make_tmp): Initialize auth to NULL.
-rw-r--r--mail.local/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail.local/main.c b/mail.local/main.c
index 464f14d1b..e1c9e6f3f 100644
--- a/mail.local/main.c
+++ b/mail.local/main.c
@@ -294,5 +294,6 @@ make_tmp (const char *from, char **tempfile)
int line;
-
+
*tempfile = mu_tempname (NULL);
fp = fopen (*tempfile, "w+");
+
if (fp == NULL)
@@ -311,3 +312,3 @@ make_tmp (const char *from, char **tempfile)
{
- struct mu_auth_data *auth;
+ struct mu_auth_data *auth = NULL;
if (!from)

Return to:

Send suggestions and report system problems to the System administrator.