aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/client-list.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-12 15:41:58 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-12 15:41:58 +0200
commit5de2a89c19ac42aac39ca847ea8157562d4dde03 (patch)
tree7658e8f95541371e70e64870e387eaf4482d39a9 /src/libmdsserver/client-list.c
parentmacros for ato* with cast (diff)
downloadmds-5de2a89c19ac42aac39ca847ea8157562d4dde03.tar.gz
mds-5de2a89c19ac42aac39ca847ea8157562d4dde03.tar.bz2
mds-5de2a89c19ac42aac39ca847ea8157562d4dde03.tar.xz
fix tabulation
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver/client-list.c')
-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;