mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 02:22:56 +00:00
intialize r2chan and make the compiler happy
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@813 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
10c93bc239
commit
62615f1990
@ -1128,6 +1128,7 @@ static void *zap_r2_run(zap_thread_t *me, void *obj)
|
||||
int i;
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "OpenR2 monitor thread started.\n");
|
||||
r2chan = NULL;
|
||||
for (i = 1; i <= span->chan_count; i++) {
|
||||
r2chan = R2CALL(span->channels[i])->r2chan;
|
||||
openr2_chan_set_idle(r2chan);
|
||||
|
Loading…
x
Reference in New Issue
Block a user