evil: fix wrong values in timeval
authorVincent Torri <vincent.torri@gmail.com>
Fri, 22 Mar 2019 13:09:14 +0000 (09:09 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
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

index df79c36..26d596a 100644 (file)
@@ -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);