diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 13:26:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 13:26:26 +0000 |
commit | 8a6e9ec085ff08a106ec7e143df03fd46c1431f3 (patch) | |
tree | 96aa61c1f5dd2040f43ea05bfd18aa7e1c319b3b | |
parent | cc8bc6b7b6cb429c6a0a4bebc180b70b564e4e99 (diff) | |
download | ruby-8a6e9ec085ff08a106ec7e143df03fd46c1431f3.tar.gz |
* ext/syslog/syslog.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/syslog/syslog.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Apr 1 22:25:50 2011 Tanaka Akira <akr@fsij.org> + + * ext/syslog/syslog.c: parenthesize macro arguments. + Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org> * lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is diff --git a/ext/syslog/syslog.c b/ext/syslog/syslog.c index 3c3c68f3a3..e72eb930ff 100644 --- a/ext/syslog/syslog.c +++ b/ext/syslog/syslog.c @@ -333,7 +333,7 @@ static VALUE mSyslog_instance(VALUE self) #define define_syslog_shortcut_method(pri, name) \ static VALUE mSyslog_##name(int argc, VALUE *argv, VALUE self) \ { \ - syslog_write(pri, argc, argv); \ + syslog_write((pri), argc, argv); \ \ return self; \ } |