mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1327 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9e93388543
commit
b124890e48
@ -310,7 +310,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_name(switch_channel_t *channe
|
||||
SWITCH_DECLARE(char *) switch_channel_get_name(switch_channel_t *channel)
|
||||
{
|
||||
assert(channel != NULL);
|
||||
return channel->name;
|
||||
return channel->name ? channel->name : "N/A";
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_channel_set_variable(switch_channel_t *channel, char *varname, char *value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user