mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 15:36:13 +00:00
func_export: Use correct function argument as variable name.
Fixes #208
(cherry picked from commit d36d208beb)
This commit is contained in:
committed by
Asterisk Development Team
parent
248e724928
commit
6dfdede30a
@@ -84,7 +84,7 @@ static int func_export_write(struct ast_channel *chan, const char *function, cha
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pbx_builtin_setvar_helper(ochan, data, value);
|
pbx_builtin_setvar_helper(ochan, args.var, value);
|
||||||
ast_channel_unref(ochan);
|
ast_channel_unref(ochan);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user