Skip to content

Commit ee99ed6

Browse files
committed
added check for group-separator in EventsResponder::replyEvents
1 parent 3c1f365 commit ee99ed6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

events.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ void EventsResponder::replyEvents(ostream& out, cxxtools::http::Request& request
8888
bool initialized = false;
8989
int total = 0;
9090
for(int i=0; i<Channels.Count(); i++) {
91-
if (Channels.Get(i)->GroupSep()) { // we have a group-separator
92-
if (channel_from > 0) channel_from += 1;
93-
if (channel_to > 0 && channel_to < Channels.Count()) channel_to += 1;
91+
if (Channels.Get(i)->GroupSep()) { // we have a group-separator
92+
if (channel_from > 0) channel_from += 1;
93+
if (channel_to > 0 && channel_to < Channels.Count()) channel_to += 1;
9494
continue;
9595
}
9696

0 commit comments

Comments
 (0)