dect
/
asterisk
Archived
13
0
Fork 0

Actually use tmp for something (brings trunk back into sync with 1.6 branches).

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236183 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2009-12-23 02:52:30 +00:00
parent 7f1f41f518
commit b2eaaff6e8
1 changed files with 2 additions and 1 deletions

View File

@ -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, '&');