Skip to content

Commit

Permalink
Fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 5, 2021
1 parent 6fed3da commit 4e982ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/io/wait/wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ io_wait(int argc, VALUE *argv, VALUE io)
VALUE timeout = Qundef;
rb_io_event_t events = 0;

if (argc != 2 || (RB_SYRB_SYMBOL_P(argv[0]) || RB_SYMBOL_P(argv[1]))) {
if (argc != 2 || (RB_SYMBOL_P(argv[0]) || RB_SYMBOL_P(argv[1]))) {
for (int i = 0; i < argc; i += 1) {
if (RB_SYMBOL_P(argv[i])) {
events |= wait_mode_sym(argv[i]);
Expand Down

0 comments on commit 4e982ae

Please sign in to comment.