Added missing event type

This commit is contained in:
Lorenz Meier 2012-10-28 15:04:51 +01:00
parent 98791bc674
commit 1a70b2f4ed
1 changed files with 1 additions and 0 deletions

View File

@ -532,6 +532,7 @@ uorb_receive_thread(void *arg)
struct pollfd fds[n_listeners];
for (unsigned i = 0; i < n_listeners; i++) {
fds[i].fd = *listeners[i].subp;
fds[i].events = POLLIN;
/* Invoke callback to set initial state */
//listeners[i].callback(&listener[i]);