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
commit7e73a6c27ec7246c7181bbcb5973e9458640f54a (patch)
tree3cb408c403ec382ba94be8c536ac5a46a78b8df6 /common
parent99c15b68351b863073b0fa61e9a2b7ad4a80e01b (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)