Skip to content

Commit

Permalink
Merge pull request #244 from embhorn/rel_v1.10_take2
Browse files Browse the repository at this point in the history
Fix nb client build issue
  • Loading branch information
dgarske authored Nov 2, 2021
2 parents ab60257 + d6df691 commit 5d453ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/nbclient/nbclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ int mqttclient_test(MQTTCtx *mqttCtx)
do {
rc = mqttclient_test(&mqttCtx);
} while (rc == MQTT_CODE_CONTINUE);

mqtt_free_ctx(&mqttCtx);
#else
(void)argc;
(void)argv;
Expand All @@ -563,7 +565,6 @@ int mqttclient_test(MQTTCtx *mqttCtx)
PRINTF("Example not compiled in!");
rc = 0; /* return success, so make check passes with TLS disabled */
#endif
mqtt_free_ctx(&mqttCtx);

return (rc == 0) ? 0 : EXIT_FAILURE;
}
Expand Down
2 changes: 1 addition & 1 deletion wolfmqtt/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {
#endif

#define LIBWOLFMQTT_VERSION_STRING "1.10.0"
#define LIBWOLFMQTT_VERSION_HEX 0x0100A000
#define LIBWOLFMQTT_VERSION_HEX 0x01010000

#ifdef __cplusplus
}
Expand Down

0 comments on commit 5d453ac

Please sign in to comment.