summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-02 21:27:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-02 21:27:16 +0000
commitd3d8db4eb8ea1deabcb8a1d5538637a57e4108d4 (patch)
treeed3fe84e69f46f6036510c129752bb143eda9728 /ext
parent79d7c503cd726b7a18a5501208db175706f53073 (diff)
* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 89569f9..d42ca37 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -1057,7 +1057,8 @@ ruby_connect(fd, sockaddr, len, 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)