ctdbd_conn: Only poll if there's a timeout
commit332eeb8bc152a7ba10c81c92cd8aec21733692c3
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jul 2014 12:35:39 +0000 (21 12:35 +0000)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 16:01:53 +0000 (6 18:01 +0200)
treed7cf6487a2350d0c9c4a896c97287757d99ad524
parentc71b0c413c34b2a98557a1baebaebe665b4d8a8c
ctdbd_conn: Only poll if there's a timeout

At this point the ctdb socket is blocking, so we can save a syscall when
we wait indefinitely anyway.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Aug  6 18:01:54 CEST 2014 on sn-devel-104
source3/lib/ctdbd_conn.c