Skip to content

Commit

Permalink
Fix #3482 - typo in socket.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Jun 21, 2013
1 parent ded337b commit 632fa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function connect(sock::TcpSocket, host::ASCIIString, port::Integer)
end

# Default Host to localhost
connect(sock::TcpSocket, port::Integer) = conenct(sock,IPv4(127,0,0,1),port)
connect(sock::TcpSocket, port::Integer) = connect(sock,IPv4(127,0,0,1),port)
connect(port::Integer) = connect(IPv4(127,0,0,1),port)

function default_connectcb(sock,status)
Expand Down

0 comments on commit 632fa69

Please sign in to comment.