/[LeafOK_CVS]/lbbs/src/bbs_net.c
ViewVC logotype

Diff of /lbbs/src/bbs_net.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.95 by sysadm, Thu Dec 18 02:56:00 2025 UTC Revision 1.96 by sysadm, Thu Dec 18 03:23:48 2025 UTC
# Line 867  static int bbsnet_connect(int n) Line 867  static int bbsnet_connect(int n)
867                  for (int i = 0; i < nfds; i++)                  for (int i = 0; i < nfds; i++)
868                  {                  {
869  #ifdef HAVE_SYS_EPOLL_H  #ifdef HAVE_SYS_EPOLL_H
870                          if (events[i].events & (EPOLLRDHUP | EPOLLHUP | EPOLLERR))                          if (events[i].events & (EPOLLHUP | EPOLLERR))
871  #else  #else
872                          if (pfds[i].revents & (POLLRDHUP | POLLHUP | POLLERR))                          if (pfds[i].revents & (POLLHUP | POLLERR))
873  #endif  #endif
874                          {                          {
875  #ifdef HAVE_SYS_EPOLL_H  #ifdef HAVE_SYS_EPOLL_H


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1