From 36ea33936ac14f6c5baa71c7d2b396120f13bd07 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 19 Jan 2018 17:01:05 +0000 Subject: accept: avoid passing unnecessary arg to rb_funcall Followup-to commit aa1da2e47c69302f9bdb2ab4990e81d87bbcaf1f ("wait: avoid passing unnecessary args to rb_funcall") --- ext/kgio/accept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-24-ge0c7