Forgot to add break :)
And that, is why you test before pushing and commiting >.<
This commit is contained in:
parent
c67079dd74
commit
3ee1f34bc4
@ -166,6 +166,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
|
||||
memcpy(buffer + buffer_insert_index, result, strlen(result));
|
||||
buffer_insert_index += strlen(result);
|
||||
if (buffer_insert_index == 1024) flush_buffer();
|
||||
break;
|
||||
}
|
||||
case 's': {
|
||||
const char* str = va_arg(ap, const char*);
|
||||
|
@ -249,6 +249,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
|
||||
memcpy(buffer + buffer_insert_index, result, strlen(result));
|
||||
buffer_insert_index += strlen(result);
|
||||
if (buffer_insert_index == 1024) flush_buffer();
|
||||
break;
|
||||
}
|
||||
case 's': {
|
||||
const char* str = va_arg(ap, const char*);
|
||||
|
Loading…
Reference in New Issue
Block a user