Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
7c9fdef7
Commit
7c9fdef7
authored
Dec 25, 2016
by
Marcel Stör
Browse files
Tiny formatting fix
parent
feab8b22
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/en/modules/net.md
View file @
7c9fdef7
...
@@ -316,8 +316,8 @@ function receiver(sck, data)
...
@@ -316,8 +316,8 @@ function receiver(sck, data)
-- sends and removes the first element from the 'response' table
-- sends and removes the first element from the 'response' table
local
function
send
(
localSocket
)
local
function
send
(
localSocket
)
if
#
response
>
0
if
#
response
>
0
then
then
localSocket
:
send
(
table.remove
(
response
,
1
))
localSocket
:
send
(
table.remove
(
response
,
1
))
else
else
localSocket
:
close
()
localSocket
:
close
()
response
=
nil
response
=
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment