Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
94abbe70
Unverified
Commit
94abbe70
authored
Aug 27, 2018
by
Terry Ellison
Committed by
GitHub
Aug 27, 2018
Browse files
Fix #2430 node.input() not working (#2469)
parent
161c8555
Changes
1
Show whitespace changes
Inline
Side-by-side
app/lua/lua.c
View file @
94abbe70
...
...
@@ -324,7 +324,7 @@ int lua_main (int argc, char **argv) {
}
int
lua_put_line
(
const
char
*
s
,
size_t
l
)
{
if
(
s
==
NULL
||
++
l
<
LUA_MAXINPUT
||
gLoad
.
line_position
>
0
)
if
(
s
==
NULL
||
++
l
>
LUA_MAXINPUT
||
gLoad
.
line_position
>
0
)
return
0
;
c_memcpy
(
gLoad
.
line
,
s
,
l
);
gLoad
.
line
[
l
]
=
'\0'
;
...
...
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