Skip to content

Conversation

@danewalton-msft
Copy link
Member

For the topics, they are supposed to be NULL terminated but the returned length doesn't include the space needed for the NULL (it acts as a strlen). This makes sure the buffers are partitioned correctly.

You can see this manifest in the logs where the printf prints the topic with the payload seemingly concatenated.

image

Also a typo fix.

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.

3 participants