Fix typo in minimal epoll polling time 27/6027/1
authorPierre Pfister <ppfister@cisco.com>
Tue, 4 Apr 2017 14:55:21 +0000 (15:55 +0100)
committerPierre Pfister <ppfister@cisco.com>
Tue, 4 Apr 2017 14:55:21 +0000 (15:55 +0100)
commitec06222ae189fe8d84b63410130fff04bf446573
treec669fffa9092c328e2d64e4f0d570c7c45eb99a8
parentde9a7eacd5c86cc791fe72a6184c2a05fe7d3fda
Fix typo in minimal epoll polling time

epoll was supposed to not sleep when timeout
is less than 1ms, but a typo made it not sleep
any time the requested timeout is lower than
1000 seconds (in practice, never...).

This patch replaces "1e3" with "1e-3", which
represents 1ms.

Change-Id: I731851b27a6bf6ab8e41586e017e94b962b09bf3
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vlib/unix/input.c