From 92515d50bfd2dc0ee3eef33fa64070137d82882a Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Fri, 22 Mar 2019 09:09:14 -0400 Subject: [PATCH] evil: fix wrong values in timeval Summary: time values are of type long, but a double values was used Test Plan: compilation Reviewers: raster, zmike, q66, simotek Reviewed By: zmike, simotek Subscribers: simotek, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8444 --- src/lib/evil/evil_fcntl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evil/evil_fcntl.c b/src/lib/evil/evil_fcntl.c index df79c36..26d596a 100644 --- a/src/lib/evil/evil_fcntl.c +++ b/src/lib/evil/evil_fcntl.c @@ -18,8 +18,8 @@ _is_socket(SOCKET s) fd_set rfds; struct timeval tv; - tv.tv_sec = 0.00000001; - tv.tv_usec = 0; + tv.tv_sec = 0; + tv.tv_usec = 100; FD_ZERO(&rfds); FD_SET(s, &rfds); -- 2.7.4