diff options
author | Eric Wong <e@80x24.org> | 2018-01-19 17:01:05 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-01-19 17:01:05 +0000 |
commit | 36ea33936ac14f6c5baa71c7d2b396120f13bd07 (patch) | |
tree | 29bcc3efeab62532e05557d2fceec419bd87a260 | |
parent | 64118fbcb68b1f94bcede9fcd5e062d0ebdf2000 (diff) | |
download | kgio-36ea33936ac14f6c5baa71c7d2b396120f13bd07.tar.gz |
Followup-to commit aa1da2e47c69302f9bdb2ab4990e81d87bbcaf1f ("wait: avoid passing unnecessary args to rb_funcall")
-rw-r--r-- | ext/kgio/accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c index c847c92..f1de39d 100644 --- a/ext/kgio/accept.c +++ b/ext/kgio/accept.c @@ -40,7 +40,7 @@ static VALUE set_accepted(VALUE klass, VALUE aclass) if (NIL_P(aclass)) aclass = cKgio_Socket; - tmp = rb_funcall(aclass, rb_intern("included_modules"), 0, 0); + tmp = rb_funcall(aclass, rb_intern("included_modules"), 0); tmp = rb_funcall(tmp, rb_intern("include?"), 1, mSocketMethods); if (tmp != Qtrue) |