diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-17 05:41:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-17 05:41:01 +0000 |
commit | b25ad0daaa3bdcce819e3c830883472282f21c2c (patch) | |
tree | d5ee5cac0889ae160dd5665d46626ebdb161b205 /ext/win32 | |
parent | 361d51a7ee5965c343d7b7003939a9a21309c76b (diff) | |
download | ruby-b25ad0daaa3bdcce819e3c830883472282f21c2c.tar.gz |
option.c: make error messages consistent
* ext/socket/option.c (check_size): extract a macro to check
binary data size, with a consistent message.
* ext/socket/option.c (sockopt_byte): fix error message,
sizeof(int) differs from sizeof(unsigned char) in general.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32')
0 files changed, 0 insertions, 0 deletions