summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-03-22 09:09:14 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-03-22 09:09:14 -0400
commit10c2342d93ea25f46bccf448cb45426f2bc0461c (patch)
treed8a3e9c0702947f4fe3d8796bbccb2f976433e4c
parent44d0cb926098e34185d4a2cbc1ab1a705e50d25e (diff)
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
-rw-r--r--src/lib/evil/evil_fcntl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evil/evil_fcntl.c b/src/lib/evil/evil_fcntl.c
index df79c3605f..26d596a030 100644
--- a/src/lib/evil/evil_fcntl.c
+++ b/src/lib/evil/evil_fcntl.c
@@ -18,8 +18,8 @@ _is_socket(SOCKET s)
18 fd_set rfds; 18 fd_set rfds;
19 struct timeval tv; 19 struct timeval tv;
20 20
21 tv.tv_sec = 0.00000001; 21 tv.tv_sec = 0;
22 tv.tv_usec = 0; 22 tv.tv_usec = 100;
23 FD_ZERO(&rfds); 23 FD_ZERO(&rfds);
24 FD_SET(s, &rfds); 24 FD_SET(s, &rfds);
25 25