projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ee4e9
)
Reset the ast_str used for escape substitution. We need to do this since it is a...
author
Joshua Colp
<jcolp@digium.com>
Fri, 23 Jan 2009 17:32:26 +0000
(17:32 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Fri, 23 Jan 2009 17:32:26 +0000
(17:32 +0000)
(closes issue #14312)
Reported by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170498
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
8afa70a
..
bb1366b
100644
(file)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-10191,6
+10191,8
@@
static const char *substitute_escapes(const char *value)
/* Add 16 for fudge factor */
struct ast_str *str = ast_str_thread_get(&global_app_buf, strlen(value) + 16);
+ ast_str_reset(str);
+
/* Substitute strings \r, \n, and \t into the appropriate characters */
for (current = (char *) value; *current; current++) {
if (*current == '\\') {