Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
revert one mutex code (from coverity fixes)
  • Loading branch information
perexg committed Mar 22, 2015
1 parent 34ed9da commit 4db85f0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/subscriptions.c
Expand Up @@ -466,11 +466,8 @@ subscription_input(void *opauqe, streaming_message_t *sm)
if(s->ths_start_message != NULL) {
streaming_target_deliver(s->ths_output, s->ths_start_message);
s->ths_start_message = NULL;
if (s->ths_service) {
pthread_mutex_lock(&s->ths_service->s_stream_mutex);
if (s->ths_service)
s->ths_service->s_running = 1;
pthread_mutex_unlock(&s->ths_service->s_stream_mutex);
}
}
s->ths_state = SUBSCRIPTION_GOT_SERVICE;
}
Expand Down

0 comments on commit 4db85f0

Please sign in to comment.