mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
@@ -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, '&');
|
||||
|
Reference in New Issue
Block a user