mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
switch_state_handler_table renames and msvc build fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@557 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c5c74474ba
commit
ed310c8d33
4 files changed
+6
-4
No files matched your search
@@ -488,8 +488,10 @@ SWITCH_DECLARE(switch_caller_profile *) switch_channel_get_originatee_caller_pro
|
||||
SWITCH_DECLARE(int) switch_channel_add_state_handler(switch_channel *channel,
|
||||
const switch_state_handler_table *state_handler)
|
||||
{
|
||||
int index;
|
||||
|
||||
assert(channel != NULL);
|
||||
int index = channel->state_handler_index++;
|
||||
index = channel->state_handler_index++;
|
||||
|
||||
if (channel->state_handler_index >= SWITCH_MAX_STATE_HANDLERS) {
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user