summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-14 03:52:31 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-14 03:52:31 +0000
commit7a823be8d04813ab174a51c220d73d4ca3ab8a1c (patch)
tree6fb52b3ab220299ff1dfc4866880dd20d2bce110 /thread.c
parentcc07dc7cf22f08e4a412c545330f393540c67863 (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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/thread.c b/thread.c
index cc033f11d6..0711ef5552 100644
--- a/thread.c
+++ b/thread.c
@@ -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);