diff options
author | Caleb Maclennan <caleb@alerque.com> | 2023-11-10 09:12:04 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2023-11-10 09:12:04 +0300 |
commit | 5c4fc93d5f4137bf4c22ddf1a048c907a4a26727 (patch) | |
tree | a9a68e1f6a9c3bfe2b64fa1c3a4098865b7d3b5d /test/udp-zero-length-send | |
parent | ccef3bc4e2aa6ee5b997a80aabb58f4ff0b0e98f (diff) | |
parent | 43a97b7f0053313b43906371dbdc226271e6c8ab (diff) | |
download | luasocket-hjelmeland-patch-1.tar.gz luasocket-hjelmeland-patch-1.tar.bz2 luasocket-hjelmeland-patch-1.zip |
Merge branch 'master' into hjelmeland-patch-1hjelmeland-patch-1
Diffstat (limited to 'test/udp-zero-length-send')
-rwxr-xr-x | test/udp-zero-length-send | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/udp-zero-length-send b/test/udp-zero-length-send index a594944..9038c99 100755 --- a/test/udp-zero-length-send +++ b/test/udp-zero-length-send | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/lua | 1 | #!/usr/bin/env lua |
2 | 2 | ||
3 | --[[ | 3 | --[[ |
4 | Show that luasocket returns an error message on zero-length UDP sends, | 4 | Show that luasocket returns an error message on zero-length UDP sends, |
@@ -12,7 +12,7 @@ listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes | |||
12 | 12 | ||
13 | ]] | 13 | ]] |
14 | 14 | ||
15 | require"socket" | 15 | socket = require"socket" |
16 | 16 | ||
17 | s = assert(socket.udp()) | 17 | s = assert(socket.udp()) |
18 | r = assert(socket.udp()) | 18 | r = assert(socket.udp()) |