Project

General

Profile

« Previous | Next » 

Revision b25ad0da

Added by nobu (Nobuyoshi Nakada) over 9 years ago

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