mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11328 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -388,6 +388,11 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
|
||||
int hits = 2;
|
||||
char *p = ring_array[fx], *q;
|
||||
|
||||
if (!p) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Parse Error\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!(hits = atoi(p))) {
|
||||
hits = 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user