Commit 601c9750 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fix ISO C90 compil

parent 6b63bd2d
......@@ -166,10 +166,11 @@ void ortp_ev_dispatcher_disconnect(OrtpEvDispatcher *d
, OrtpEventType type
, rtcp_type_t subtype
, OrtpEvDispatcherCb cb) {
OList *it = NULL;
if(!d) {
return;
}
OList *it = d->cbs;
it = d->cbs;
while (it) {
OrtpEvDispatcherData *data = (OrtpEvDispatcherData*)it->data;
if (data && data->type == type && data->subtype == subtype && data->on_found == cb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment