gdp-reader.patch
apps/gdp-reader.c | ||
---|---|---|
281 | 281 |
EP_STAT estat; |
282 | 282 |
void (*cbfunc)(gdp_event_t *) = NULL; |
283 | 283 |
EP_TIME_SPEC ts; |
284 |
int32_t i; |
|
284 | 285 | |
285 | 286 |
if (use_callbacks) |
286 | 287 |
cbfunc = multiread_cb; |
... | ... | |
336 | 337 |
// now start reading the events that will be generated |
337 | 338 |
if (!use_callbacks) |
338 | 339 |
{ |
339 |
for (;;)
|
|
340 |
for (i=0;i<numrecs-1;i++)
|
|
340 | 341 |
{ |
341 | 342 |
// get the next incoming event |
342 | 343 |
gdp_event_t *gev = gdp_event_next(NULL, 0); |