diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-11 19:32:13 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-11 19:32:13 +0000 |
commit | 29ce6bad5968026b7078977e2c6c01e73b38b2f2 (patch) | |
tree | b7f1a74545a96d3d47034ddf17e64255549c283c /apps | |
parent | cc03c5e1199241da2076b99262e3872da2c09dfb (diff) |
Don't nullify an ast_str pointer.
(closes issue #15061)
Reported by: alecdavis
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@193678 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b5d7f592e..3381cfc6c 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); |