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:
985c9f5
)
Avoid an additional function call. Reported by: eliel Patch by: eliel (Closes issue...
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 3 Dec 2007 20:30:02 +0000
(20:30 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 3 Dec 2007 20:30:02 +0000
(20:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90591
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/channel.c
patch
|
blob
|
history
diff --git
a/main/channel.c
b/main/channel.c
index
f0ee9e7
..
a9b0d31
100644
(file)
--- a/
main/channel.c
+++ b/
main/channel.c
@@
-3464,7
+3464,7
@@
void ast_channel_inherit_variables(const struct ast_channel *parent, struct ast_
}
break;
case 2:
- newvar = ast_var_assign(ast_var_full_name(current), ast_var_value(current));
+ newvar = ast_var_assign(varname, ast_var_value(current));
if (newvar) {
AST_LIST_INSERT_TAIL(&child->varshead, newvar, entries);
ast_debug(1, "Copying hard-transferable variable %s.\n", ast_var_name(newvar));