mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +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:
@@ -16,6 +16,7 @@
|
||||
#ifndef PUBLISHMANAGER_H_
|
||||
#define PUBLISHMANAGER_H_
|
||||
|
||||
#include <time.h>
|
||||
#include "LMqttsnClientApp.h"
|
||||
#include "LTimer.h"
|
||||
#include "LTopicTable.h"
|
||||
@@ -42,7 +43,7 @@ typedef struct PubElement{
|
||||
const char* topicName;
|
||||
uint8_t* payload;
|
||||
uint16_t payloadlen;
|
||||
uint32_t sendUTC;
|
||||
time_t sendUTC;
|
||||
int (*callback)(void);
|
||||
int retryCount;
|
||||
int taskIndex;
|
||||
|
||||
Reference in New Issue
Block a user