fix build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11328 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-01-21 02:18:03 +00:00
parent 3a4f8d8a4a
commit dbeb3aa47d
2 changed files with 7 additions and 1 deletions

View File

@@ -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;
}