Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2024-02-13 10:01:10 +00:00
8 changed files with 52 additions and 10 deletions

2
proc.c
View File

@ -93,7 +93,7 @@ proc_event_cb(__unused int fd, short events, void *arg)
log_debug("peer %p message %d", peer, imsg.hdr.type);
if (peer_check_version(peer, &imsg) != 0) {
int fd = imsg_get_fd(&imsg);
fd = imsg_get_fd(&imsg);
if (fd != -1)
close(fd);
imsg_free(&imsg);