aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc.c')
-rw-r--r--src/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc.c b/src/ipc.c
index b9d2532..8c59ef1 100644
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -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)