Skip to content

Commit

Permalink
Fixed another typo in Streaming plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Mar 20, 2019
1 parent 999cb14 commit 8586d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -4235,7 +4235,7 @@ static void *janus_streaming_handler(void *data) {
janus_mutex_lock(&oldmp->mutex);
oldmp->viewers = g_list_remove_all(oldmp->viewers, session);
/* Remove the viewer from the helper threads too, if any */
if(mp->helper_threads > 0) {
if(oldmp->helper_threads > 0) {
GList *l = oldmp->threads;
while(l) {
janus_streaming_helper *ht = (janus_streaming_helper *)l->data;
Expand Down

0 comments on commit 8586d48

Please sign in to comment.