Browse Source

Fix thinko

master
ckolivas 10 years ago
parent
commit
7edc80324c
  1. 2
      src/connector.c

2
src/connector.c

@ -303,7 +303,7 @@ repoll:
cksleep_ms(100); cksleep_ms(100);
ret = poll(fds, nfds, 1000); ret = poll(fds, nfds, 1000);
if (unlikely(ret < 1)) { if (unlikely(ret < 0)) {
LOGERR("Failed to poll in receiver"); LOGERR("Failed to poll in receiver");
goto out; goto out;
} }

Loading…
Cancel
Save