mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Fix building.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -209,9 +209,8 @@ int stasis_app_control_continue(struct stasis_app_control *control, const char *
|
|||||||
|
|
||||||
char *stasis_app_control_get_channel_var(struct stasis_app_control *control, const char *variable)
|
char *stasis_app_control_get_channel_var(struct stasis_app_control *control, const char *variable)
|
||||||
{
|
{
|
||||||
SCOPED_CHANNELLOCK(lockvar, control->channel);
|
|
||||||
|
|
||||||
RAII_VAR(struct ast_str *, tmp, ast_str_create(32), ast_free);
|
RAII_VAR(struct ast_str *, tmp, ast_str_create(32), ast_free);
|
||||||
|
SCOPED_CHANNELLOCK(lockvar, control->channel);
|
||||||
|
|
||||||
if (!tmp) {
|
if (!tmp) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user