Check timer period and timeout arguments
Check timer period and timeout arguments

The uev_timer_init() and uev_timer_set() functions allow timeout and
period to be set < 0, which is not supported.  This patch adds a very
simple range check.

Signed-off-by: Joachim Nilsson <9b485d7428bc8ac3842747714a2d069a6f18f719@westermo.se>

troglobit/libuev,troglobit/libuev