Commit c92139c8 authored by Youness Alaoui's avatar Youness Alaoui

Fix a logic bug

darcs-hash:20080422163047-4f0f6-734497a855a7070b2bdb5e856c79b374455f6caf.gz
parent 64c4096d
...@@ -119,8 +119,8 @@ stream_all_components_ready (const Stream *stream) ...@@ -119,8 +119,8 @@ stream_all_components_ready (const Stream *stream)
for (i = stream->components; i; i = i->next) { for (i = stream->components; i; i = i->next) {
Component *component = i->data; Component *component = i->data;
if (component && if (component &&
(component->state == NICE_COMPONENT_STATE_CONNECTED || !(component->state == NICE_COMPONENT_STATE_CONNECTED ||
component->state == NICE_COMPONENT_STATE_READY)) component->state == NICE_COMPONENT_STATE_READY))
return FALSE; return FALSE;
} }
......
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