diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-09 23:20:03 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-05-10 01:28:57 -0600 |
commit | b60e30e19607555f8a640e72391a77bcac254e28 (patch) | |
tree | b04403f722d5a11c749819c26e9eb2c098098c1e | |
parent | wg-quick: support dns search domains (diff) | |
download | wireguard-tools-b60e30e19607555f8a640e72391a77bcac254e28.tar.xz wireguard-tools-b60e30e19607555f8a640e72391a77bcac254e28.zip |
ipc: remove extra space
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/ipc.c | 2 |
1 files changed, 1 insertions, 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) |