Evgeny Grin (Karlson2k) před 1 rokem
rodič
revize
fba54acad1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/mhd2/daemon_add_conn.c

+ 1 - 1
src/mhd2/daemon_add_conn.c

@@ -396,7 +396,7 @@ new_connection_process_ (struct MHD_Daemon *restrict daemon,
 
           event.events = EPOLLIN | EPOLLOUT | EPOLLET;
           event.data.ptr = connection;
-          if (0 != epoll_ctl (daemon->epoll_fd,
+          if (0 != epoll_ctl (daemon->events.data.epoll.e_fd,
                               EPOLL_CTL_ADD,
                               connection->socket_fd,
                               &event))