mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
This commit is contained in:
@@ -1499,7 +1499,7 @@ talk_loop(void *data) {
|
|||||||
ChildMonitor *self = (ChildMonitor*)data;
|
ChildMonitor *self = (ChildMonitor*)data;
|
||||||
set_thread_name("KittyPeerMon");
|
set_thread_name("KittyPeerMon");
|
||||||
if (!init_loop_data(&talk_data.loop_data)) { log_error("Failed to create wakeup fd for talk thread with error: %s", strerror(errno)); }
|
if (!init_loop_data(&talk_data.loop_data)) { log_error("Failed to create wakeup fd for talk thread with error: %s", strerror(errno)); }
|
||||||
PollFD fds[PEER_LIMIT + 8] = {0};
|
PollFD fds[PEER_LIMIT + 8] = {{0}};
|
||||||
size_t num_listen_fds = 0, num_peer_fds = 0;
|
size_t num_listen_fds = 0, num_peer_fds = 0;
|
||||||
#define add_listener(which) \
|
#define add_listener(which) \
|
||||||
if (self->which > -1) { \
|
if (self->which > -1) { \
|
||||||
|
|||||||
Reference in New Issue
Block a user