diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-12-23 02:52:30 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-12-23 02:52:30 +0000 |
commit | 1e0306a04b48243f0a616688567616bd7ca82da7 (patch) | |
tree | a52468c2993ca0aca2cbbb209c9ff81fd745ba31 /apps | |
parent | 6ecaa764d35b4f53fe51c2cf117fbd14456914a8 (diff) |
Actually use tmp for something (brings trunk back into sync with 1.6 branches).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 17afc5f9b..a9b3d3d27 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5259,7 +5259,8 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ return -1; } - ext = ast_strdupa(ext); + ast_str_set(&tmp, 0, "%s", ext); + ext = ast_str_buffer(tmp); if ((context = strchr(ext, '@'))) { *context++ = '\0'; tmpptr = strchr(context, '&'); |