summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fds.c b/src/fds.c
index 6304fcd..347eee1 100644
--- a/src/fds.c
+++ b/src/fds.c
@@ -87,6 +87,8 @@ int unregister_fd(int fd, struct fds *fds)
maxfd = this->fd;
}
}
+ fds->maxfd = maxfd;
+
return 0;
}