[ruby-cvs:60718] nobu:r53557 (trunk): option.c: make error messages consistent

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Jan 17 14:41:01 JST 2016


nobu	2016-01-17 14:41:01 +0900 (Sun, 17 Jan 2016)

  New Revision: 53557

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53557

  Log:
    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.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/option.c


More information about the ruby-cvs mailing list