diff options
author | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-14 03:52:31 +0000 |
---|---|---|
committer | svn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-14 03:52:31 +0000 |
commit | 7a823be8d04813ab174a51c220d73d4ca3ab8a1c (patch) | |
tree | 6fb52b3ab220299ff1dfc4866880dd20d2bce110 /thread.c | |
parent | cc07dc7cf22f08e4a412c545330f393540c67863 (diff) |
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4010,12 +4010,12 @@ rb_thread_fd_select(int max, rb_fdset_t * read, rb_fdset_t * write, rb_fdset_t * set.timeout = timeout; if (!set.rset && !set.wset && !set.eset) { - if (!timeout) { - rb_thread_sleep_forever(); - return 0; - } - rb_thread_wait_for(*timeout); - return 0; + if (!timeout) { + rb_thread_sleep_forever(); + return 0; + } + rb_thread_wait_for(*timeout); + return 0; } set.sigwait_fd = rb_sigwait_fd_get(set.th); |