[asterisk-bugs] [JIRA] (ASTERISK-30209) pbx_variables: Use const char for pbx_substitute_variables_helper_full_location

Friendly Automation (JIRA) noreply at issues.asterisk.org
Sun Sep 11 08:34:09 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260117#comment-260117 ] 

Friendly Automation commented on ASTERISK-30209:
------------------------------------------------

Change 19122 merged by George Joseph:
pbx_variables: Use const char if possible.

[https://gerrit.asterisk.org/c/asterisk/+/19122|https://gerrit.asterisk.org/c/asterisk/+/19122]

> pbx_variables: Use const char for pbx_substitute_variables_helper_full_location
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30209
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30209
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: 18.14.0
>            Reporter: N A
>            Assignee: N A
>
> The context and exten arguments in pbx_substitute_variables_helper_full_location should be const char, instead of char.
> This makes them const char - even though the function is relatively new, since it's an API change, it can be for master and 20 only.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list