mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/syslog/syslog.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cc8bc6b7b6
commit
8a6e9ec085
2 changed files with 5 additions and 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>
|
Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
|
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
|
||||||
|
|
|
@ -333,7 +333,7 @@ static VALUE mSyslog_instance(VALUE self)
|
||||||
#define define_syslog_shortcut_method(pri, name) \
|
#define define_syslog_shortcut_method(pri, name) \
|
||||||
static VALUE mSyslog_##name(int argc, VALUE *argv, VALUE self) \
|
static VALUE mSyslog_##name(int argc, VALUE *argv, VALUE self) \
|
||||||
{ \
|
{ \
|
||||||
syslog_write(pri, argc, argv); \
|
syslog_write((pri), argc, argv); \
|
||||||
\
|
\
|
||||||
return self; \
|
return self; \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue