diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-09-19 17:40:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-09-19 17:40:54 +0900 |
commit | 702cebf104298b92c67ffd22795d0a4c794dd2f1 (patch) | |
tree | 5fcd6792bd643febebed94d4845872931a3d15ce /ext/io | |
parent | 6cb6d5abc36ede9d5158c2cd90734134838e6bfb (diff) | |
download | ruby-702cebf104298b92c67ffd22795d0a4c794dd2f1.tar.gz |
strip trailing spaces [ci skip]
Diffstat (limited to 'ext/io')
-rw-r--r-- | ext/io/wait/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c index a82295f72e..bde65f9cf8 100644 --- a/ext/io/wait/wait.c +++ b/ext/io/wait/wait.c @@ -239,7 +239,7 @@ io_wait(int argc, VALUE *argv, VALUE io) } } else if (argc == 2) { events = RB_NUM2UINT(argv[0]); - + if (argv[1] != Qnil) { timeout = argv[1]; } |