aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libmdsserver/client-list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmdsserver/client-list.c b/src/libmdsserver/client-list.c
index 0e1a2ab..d7d7c9c 100644
--- a/src/libmdsserver/client-list.c
+++ b/src/libmdsserver/client-list.c
@@ -67,9 +67,9 @@ int client_list_create(client_list_t* restrict this, size_t capacity)
capacity = CLIENT_LIST_DEFAULT_INITIAL_CAPACITY;
/* Initialise the client list. */
- this->capacity = capacity = to_power_of_two(capacity);
- this->size = 0;
- this->clients = NULL;
+ this->capacity = capacity = to_power_of_two(capacity);
+ this->size = 0;
+ this->clients = NULL;
if (xmalloc(this->clients, capacity, uint64_t))
return -1;