summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-04-14 23:04:35 +0000
committerStef Walter <stef@memberwebs.com>2005-04-14 23:04:35 +0000
commit1226811e4aead186d1c94dd190c6a40ea4ec4c2d (patch)
tree312c58ba08ba99d8d2968b59bfd54c7962ad29f8 /common
parentdc643c1f0158a8a30ea60bea30138c3d402d4b94 (diff)
Fix problem when header is missing.
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index dfa0176..e5b88b9 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1457,6 +1457,8 @@ int sp_done_data(spctx_t* ctx)
ASSERT(ctx->cachename[0]); /* Must still be around */
ASSERT(!ctx->cachefile); /* File must be closed */
+ memset(header, 0, sizeof(header));
+
/* Open the file */
file = fopen(ctx->cachename, "r");
if(file == NULL)