Fix max_fd calculation in event_loop_once
authorVolker Lendecke <vl@samba.org>
Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 11 Jun 2008 16:58:26 +0000 (18:58 +0200)
commit91c73e093a03b10426b671cb3e1dffb8a2455d47
tree59212e6f393afc2f5d3ea89f1c7952d2d64e1760
parent0352682a355b42ced7628a720a6889d8453e7946
Fix max_fd calculation in event_loop_once

For some bugs I really wonder how they can go undetected for so long.

Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.

Volker
(cherry picked from commit 82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
source/lib/events.c