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

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-03-27 14:16:50 +00:00
parent 1f1c31e355
commit 94a5335148
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Mar 27 23:16:31 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/ipsocket.c: parenthesize macro arguments.
Sun Mar 27 16:55:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-mode-map): remove unnecessary

View file

@ -139,7 +139,7 @@ static ID id_numeric, id_hostname;
int
rsock_revlookup_flag(VALUE revlookup, int *norevlookup)
{
#define return_norevlookup(x) {*norevlookup = x; return 1;}
#define return_norevlookup(x) {*norevlookup = (x); return 1;}
ID id;
switch (revlookup) {