Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Call Socket._connect() in Socket.connect() . #7

Merged
merged 1 commit into from

2 participants

@monaka

It will be an obvious fix.

@tsahara tsahara merged commit e345d4c into from
@monaka monaka deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 11, 2014
  1. @monaka
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  mrblib/socket.rb
View
2  mrblib/socket.rb
@@ -399,7 +399,7 @@ def bind(sockaddr)
def connect(sockaddr)
sockaddr = sockaddr.to_sockaddr if sockaddr.is_a? Addrinfo
- Socket._bind(self.fileno, sockaddr)
+ Socket._connect(self.fileno, sockaddr)
0
end
Something went wrong with that request. Please try again.