Skip to content

Commit f1c2dee

Browse files
committed
style
1 parent b3fb024 commit f1c2dee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py/vstr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ void vstr_init(vstr_t *vstr, size_t alloc) {
5050
// Init the vstr so it allocs exactly enough ram to hold a null-terminated
5151
// string of the given length, and set the length.
5252
void vstr_init_len(vstr_t *vstr, size_t len) {
53-
if(len == SIZE_MAX)
53+
if(len == SIZE_MAX) {
5454
m_malloc_fail(len);
55+
}
5556
vstr_init(vstr, len + 1);
5657
vstr->len = len;
5758
}

0 commit comments

Comments
 (0)