[qwaq] Set event type to none when no events

Fixes the endless looping on the last event.
This commit is contained in:
Bill Currie 2020-03-10 03:10:55 +09:00
parent 21b64421c3
commit fb92ee12d6

View file

@ -733,6 +733,7 @@ get_event (qwaq_resources_t *res, qwaq_event_t *event)
}
return 1;
}
event->what = qe_none;
return 0;
}