mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
This commit is contained in:
1 parent
f29807aad8
commit
26a97ec36c
8 files changed
+9
-8
No files matched your search
+1
-1
@@ -333,8 +333,8 @@ static void test_mqtt(void) {
|
||||
// Set params
|
||||
memset(buf, 0, sizeof(buf));
|
||||
memset(&opts, 0, sizeof(opts));
|
||||
opts.qos = 1;
|
||||
opts.clean = true;
|
||||
opts.will_qos = 1;
|
||||
opts.will_retain = true;
|
||||
opts.keepalive = 20;
|
||||
opts.client_id = mg_str("mg_client");
|
||||
|
||||
Reference in new issue
Block a user