eloop: allow NULL for timer updates
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 10:54:37 +0000 (12:54 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 27 Sep 2012 10:54:37 +0000 (12:54 +0200)
commitb3aba6f61caad9100f1f938c47619a421fcbd114
tree53cc285be1595c303b2f83b6bde167ff8e24ade0
parent3f4e8a498b71ca9ee71664aa75b72e4e343b7486
eloop: allow NULL for timer updates

If NULL is passed for timer udpates, we simply assume that the timer
should be disarmed and use a zeroed itimerspec.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/eloop.c