Closed soreau closed 3 years ago
Nice! The rest of the code has {
on the same line as if
and while
. Can you fix that for this and the wayvnc PR also?
Also, we don't use { }
when there's only a single line in the code block, so prefer
if (stuff)
do_stuff();
Nice! The rest of the code has
{
on the same line asif
andwhile
. Can you fix that for this and the wayvnc PR also? Also, we don't use{ }
when there's only a single line in the code block, so preferif (stuff) do_stuff();
These should be fixed now.
The length argument is necessary because we're not always guaranteed to be dealing with null terminated strings.
Thanks!