fixed [htsp]: the event that was asked for in getEvents was missing

This commit is contained in:
Stephan Diederich 2009-12-02 19:08:33 +00:00
parent 219b3af532
commit 489e102834

View file

@ -636,6 +636,7 @@ htsp_method_getEvents(htsp_connection_t *htsp, htsmsg_t *in)
out = htsmsg_create_map();
events = htsmsg_create_list();
htsmsg_add_msg(events, NULL, htsp_build_event(e));
while( numFollowing-- > 0 ) {
e = RB_NEXT(e, e_channel_link);
if( e == NULL )