Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
subscription: fix assert() fail caused by previous fix, fixes #3577
  • Loading branch information
perexg committed Feb 20, 2016
1 parent bc6ef44 commit 414512d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/subscriptions.c
Expand Up @@ -334,10 +334,11 @@ subscription_reschedule(void)
t->s_streaming_status = 0;
t->s_status = SERVICE_IDLE;

subscription_unlink_service0(s, SM_CODE_BAD_SOURCE, 0);

si = s->ths_current_instance;
assert(si != NULL);

subscription_unlink_service0(s, SM_CODE_BAD_SOURCE, 0);

si->si_error = s->ths_testing_error;
time(&si->si_error_time);

Expand Down

0 comments on commit 414512d

Please sign in to comment.