ipc: remove extra space
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
7f236c7957
commit
b60e30e196
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ static int string_list_add(struct string_list *list, const char *str)
|
|||
char *new_buffer;
|
||||
size_t new_cap = list->cap * 2;
|
||||
|
||||
if (new_cap < list->len +len + 1)
|
||||
if (new_cap < list->len + len + 1)
|
||||
new_cap = list->len + len + 1;
|
||||
new_buffer = realloc(list->buffer, new_cap);
|
||||
if (!new_buffer)
|
||||
|
|
Loading…
Reference in a new issue