about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/accept.c2
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)