A heavier touch, but we can postpone `close(fd)` to the end and it also doesn't matter if we close needlessly - it is almost a no-op with `fd = -1`. If you disagree, I can try something else.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3899#issuecomment-2200911363
You are receiving this because you are subscribed to this thread.
Message ID:
kamailio/kamailio/pull/3899/c2200911363@github.com