mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
constify the return value of reason2str
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2919,7 +2919,7 @@ int ast_set_write_format(struct ast_channel *chan, int fmt)
|
||||
&chan->writetrans, 1);
|
||||
}
|
||||
|
||||
char *ast_channel_reason2str(int reason)
|
||||
const char *ast_channel_reason2str(int reason)
|
||||
{
|
||||
switch (reason) /* the following appear to be the only ones actually returned by request_and_dial */
|
||||
{
|
||||
|
Reference in New Issue
Block a user