Commit 0c0b7661 authored by Ian Craggs's avatar Ian Craggs Committed by GitHub

Merge pull request #255 from fpagliughi/fix-will-initializer

Extend the willOptions initializer to include the new binary payload fields
parents a20a9fb9 7f30e65e
......@@ -595,7 +595,7 @@ typedef struct
} payload;
} MQTTAsync_willOptions;
#define MQTTAsync_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 1, NULL, NULL, 0, 0 }
#define MQTTAsync_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 1, NULL, NULL, 0, 0, { 0, NULL } }
/**
* MQTTAsync_sslProperties defines the settings to establish an SSL/TLS connection using the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment