Skip to content

Commit

Permalink
Review comment changes for PR53
Browse files Browse the repository at this point in the history
  • Loading branch information
guruchandru committed Sep 25, 2023
1 parent 65b9faa commit f8dabc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
build
tags
.vscode
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
Expand Down
2 changes: 1 addition & 1 deletion src/mqttcm_connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ int mqtt_subscribe(char *comp, char *topic)
if(strcmp (comp, SUBSCRIBE_WEBCONFIG) == 0)
{
int subscribeId;
sprintf(temp_topic,"%s%s/#",MQTT_SUBSCRIBE_TOPIC,Get_Mqtt_ClientId());
snprintf(temp_topic, sizeof(temp_topic), "%s%s/#", MQTT_SUBSCRIBE_TOPIC, Get_Mqtt_ClientId());
MqttCMInfo("Subscribing to wildcard topic - %s\n", temp_topic);
rc = mosquitto_subscribe(mosq, &subscribeId, temp_topic, 1);

Expand Down

0 comments on commit f8dabc0

Please sign in to comment.