1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/raddrinfo.c: parenthesize macro arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-03-28 20:20:33 +00:00
parent 1c2b0f4f8f
commit d8ac44fcfc
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Mar 29 05:19:57 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c: parenthesize macro arguments.
Tue Mar 29 00:03:51 2011 Tajima Akil <artonx@yahoo.co.jp>
* test/webrick/test_filehandler.rb (test_short_filename):

View file

@ -545,7 +545,7 @@ addrinfo_s_allocate(VALUE klass)
return TypedData_Wrap_Struct(klass, &addrinfo_type, 0);
}
#define IS_ADDRINFO(obj) rb_typeddata_is_kind_of(obj, &addrinfo_type)
#define IS_ADDRINFO(obj) rb_typeddata_is_kind_of((obj), &addrinfo_type)
static inline rb_addrinfo_t *
check_addrinfo(VALUE self)
{