mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c76ff0753e
commit
f80cbcf912
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Sep 3 06:24:38 2006 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
|
||||
|
||||
Sun Sep 3 04:40:42 2006 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/extconf.rb: check arpa/inet.h for ntohs.
|
||||
|
|
|
@ -1071,7 +1071,8 @@ ruby_connect(int fd, struct sockaddr *sockaddr, int len, int socks)
|
|||
int mode;
|
||||
#if WAIT_IN_PROGRESS > 0
|
||||
int wait_in_progress = -1;
|
||||
int sockerr, sockerrlen;
|
||||
int sockerr;
|
||||
socklen_t sockerrlen;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_FCNTL)
|
||||
|
|
Loading…
Reference in a new issue