forked from enlightenment/efl
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
This commit is contained in:
parent
44d0cb9260
commit
10c2342d93
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue