aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-03-07 14:28:38 +0100
committerHolger Freyther <holger@freyther.de>2017-04-04 20:14:32 +0000
commitff20641d9e3bb4373f9577c3382df1480ace4e91 (patch)
treec9a4d89f6430c17ff6600d83d39ea607a8832fd0 /include/osmocom/vty
parent059c40476ca7c425736825d2a479d1a4b64ce603 (diff)
select: Find the highest fd when filling the fd_sets
Instead of returning maxfd, which is the highest fd ever seen, take the highest we have seen on this iteration. This makes a tiny difference for the osmo-sip-connector and its event loop integration. select.c ignores the return value of this function right now. This was seen while debugging the eventloop integration of the osmo-sip-connector before and after a VTY connection. The fds being polled didn't go down. Change-Id: I1a6d7271273ec08bb511c21b936891bc508843e4
Diffstat (limited to 'include/osmocom/vty')
0 files changed, 0 insertions, 0 deletions