collectdmon: fix build failure on Xenial
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 15 May 2018 07:46:01 +0000 (09:46 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 15 May 2018 07:46:01 +0000 (09:46 +0200)
commitb4a2f3eb563332d43a25791ee7856cb0817ae95e
treec3b8705e082a2b8b3171ae10e310f146fa7a9b70
parent67b77875fa96f683987d639b29437bfbf941c4f6
collectdmon: fix build failure on Xenial

CC       src/collectdmon.o
src/collectdmon.c:262:44: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
    while (((time_left = sleep(time_left)) >= 0) && loop == 0)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
1 error generated.
src/collectdmon.c