dont call revents twice

This commit is contained in:
Alexandre Ratchov 2012-11-12 18:05:55 +01:00
parent 7eb795bc19
commit 7027fdf46c
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ dev_sio_revents(void *arg, struct pollfd *pfd)
events = sio_revents(d->sio.hdl, pfd);
#ifdef DEBUG
d->sio.events = sio_revents(d->sio.hdl, pfd);
d->sio.events = events;
#endif
return events;
}