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
e2dd98ba
Commit
e2dd98ba
authored
Oct 20, 2015
by
kvakanet
Committed by
Jonathan karras
Nov 02, 2015
Browse files
Update mqtt.c fix for #679
Patch for "mqtt LWT qos and retain parameters are parsed incorrectly #679"
parent
95e2bbb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/modules/mqtt.c
View file @
e2dd98ba
...
...
@@ -1334,7 +1334,7 @@ static int mqtt_socket_lwt( lua_State* L )
{
return
luaL_error
(
L
,
"need lwt message"
);
}
stack
++
;
if
(
mud
->
connect_info
.
will_topic
){
// free the previous one if there is any
c_free
(
mud
->
connect_info
.
will_topic
);
mud
->
connect_info
.
will_topic
=
NULL
;
...
...
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