From 52541f5aeb7db910f943f8b6909ef40437cf34e9 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher <tilghman@meg.abyt.es> Date: Mon, 11 May 2009 19:32:13 +0000 Subject: [PATCH] Don't nullify an ast_str pointer. (closes issue #15061) Reported by: alecdavis git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193678 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b5d7f592e8..3381cfc6ce 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3983,7 +3983,6 @@ static const char *ast_str_encode_mime(struct ast_str **end, ssize_t maxlen, con { struct ast_str *tmp = ast_str_alloca(80); int first_section = 1; - *end = '\0'; ast_str_reset(*end); ast_str_set(&tmp, -1, "=?%s?Q?", charset); -- GitLab