fdm: bug: 'ret' was renamed to 'r', and replaced with another 'ret'

This commit is contained in:
Daniel Eklöf 2019-11-03 00:51:47 +01:00
parent 8ffa021de8
commit e09bda322a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
fdm.c
View file

@ -164,7 +164,7 @@ fdm_poll(struct fdm *fdm)
bool ret = true;
fdm->is_polling = true;
for (int i = 0; i < ret; i++) {
for (int i = 0; i < r; i++) {
struct handler *fd = events[i].data.ptr;
if (fd->deleted)
continue;