tht_refresh_feed is optional

This commit is contained in:
Andreas Öman 2010-03-10 22:45:20 +00:00
parent 57f9e7e1fe
commit 6d285d028c

View file

@ -843,7 +843,8 @@ transport_restart(th_transport_t *t, int had_components)
streaming_msg_free(sm);
}
t->tht_refresh_feed(t);
if(t->tht_refresh_feed != NULL)
t->tht_refresh_feed(t);
if(LIST_FIRST(&t->tht_components) != NULL) {