Skip to content

Conversation

hydrocontrol
Copy link

line 30:
sizeof() includes the terminating NULL character, which is not intended behaviour.
so either use sizeof()-1,
or use strlen()

line 30:
sizeof() includes the terminating NULL character, which is not intended behaviour.
so either use sizeof()-1,
or use strlen()
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