OSDN Git Service

Merge 1.16.1 remote branch 'remotes/busybox/1_16_stable'
[android-x86/external-busybox.git] / networking / telnet.c
index cc53fe7..d7cb695 100644 (file)
@@ -633,7 +633,7 @@ int telnet_main(int argc UNUSED_PARAM, char **argv)
                default:
 
 #ifdef USE_POLL
-                       if (ufds[0].revents & POLLIN)
+                       if (ufds[0].revents)
 #else
                        if (FD_ISSET(STDIN_FILENO, &rfds))
 #endif
@@ -646,7 +646,7 @@ int telnet_main(int argc UNUSED_PARAM, char **argv)
                        }
 
 #ifdef USE_POLL
-                       if (ufds[1].revents & POLLIN)
+                       if (ufds[1].revents)
 #else
                        if (FD_ISSET(netfd, &rfds))
 #endif