Skip to content

fix arithmetic on a nil value error when subscribing to topic $SYS/broker/clients/connected#8

Open
rnlaigner wants to merge 2 commits intogeekscape:masterfrom
rnlaigner:master
Open

fix arithmetic on a nil value error when subscribing to topic $SYS/broker/clients/connected#8
rnlaigner wants to merge 2 commits intogeekscape:masterfrom
rnlaigner:master

Conversation

@rnlaigner
Copy link

An error occurs in the context of clients subscribing to topic "$SYS/broker/clients/connected" in mosquitto server.

Verifying if the byte value (string.byte(message, index + 1)) is not nil is enough to avoid the error and subsequent program termination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments