aboutsummaryrefslogtreecommitdiff
path: root/macosx.cmd
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2013-05-26 15:18:13 +0800
committerDiego Nehab <diego@impa.br>2013-05-26 15:18:13 +0800
commit6d93fd7c8f04fecbcdc28994da8b8357f712463f (patch)
treee7e3d8ef480f1d78ae704ae9373159989dbba1c2 /macosx.cmd
parent22107bb9fcb3eef565b93fb00d8f2cc8849ba08e (diff)
downloadluasocket-6d93fd7c8f04fecbcdc28994da8b8357f712463f.tar.gz
luasocket-6d93fd7c8f04fecbcdc28994da8b8357f712463f.tar.bz2
luasocket-6d93fd7c8f04fecbcdc28994da8b8357f712463f.zip
Fix socket.connect
Previous implementation was not making sure the socket had the same family as the addr returned by getaddrinfo. So instead of "connection refused", we could get "invalid argument", which was our fault.
Diffstat (limited to 'macosx.cmd')
-rw-r--r--macosx.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx.cmd b/macosx.cmd
index f85141a..46a0709 100644
--- a/macosx.cmd
+++ b/macosx.cmd
@@ -1 +1 @@
make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx LUAPREFIX_macosx=/Users/diego/build/macosx install-both make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx/include LUAPREFIX_macosx=/Users/diego/build/macosx install-both