mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 17:06:51 +01:00
BugFix of #86
Fix of warning: comparison between signed and unsigned integer expressions Set a null string to the client ID when it of CONNECT is empty. Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "LMqttsnClientApp.h"
|
||||
#include "LRegisterManager.h"
|
||||
@@ -33,7 +34,7 @@ typedef struct SubElement{
|
||||
TopicCallback callback;
|
||||
const char* topicName;
|
||||
uint16_t msgId;
|
||||
uint32_t sendUTC;
|
||||
time_t sendUTC;
|
||||
uint16_t topicId;
|
||||
uint8_t msgType;
|
||||
uint8_t topicType;
|
||||
|
||||
Reference in New Issue
Block a user