ext/kgio/accept.c in kgio-2.11.1 vs ext/kgio/accept.c in kgio-2.11.1.1.g36ea
- old
+ new
@@ -38,10 +38,10 @@
VALUE tmp;
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)
rb_raise(rb_eTypeError,
"class must include Kgio::SocketMethods");