mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjusted indents [ci skip]
This commit is contained in:
parent
fddffa4c7a
commit
27b48089e2
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
/* -*- c-file-style: "ruby"; indent-tabs-mode: t -*- */
|
||||
/**********************************************************************
|
||||
|
||||
io/wait.c -
|
||||
|
@ -232,7 +233,7 @@ io_wait(int argc, VALUE *argv, VALUE io)
|
|||
|
||||
if (argc < 2 || (argc >= 2 && RB_SYMBOL_P(argv[1]))) {
|
||||
if (argc > 0) {
|
||||
timeout = argv[0];
|
||||
timeout = argv[0];
|
||||
}
|
||||
|
||||
for (int i = 1; i < argc; i += 1) {
|
||||
|
@ -243,7 +244,7 @@ io_wait(int argc, VALUE *argv, VALUE io)
|
|||
events = RB_NUM2UINT(argv[0]);
|
||||
|
||||
if (argv[1] != Qnil) {
|
||||
timeout = argv[1];
|
||||
timeout = argv[1];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue