diff options
Diffstat (limited to 'src/mds-server')
-rw-r--r-- | src/mds-server/slavery.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mds-server/slavery.c b/src/mds-server/slavery.c index cf5e45d..088b6af 100644 --- a/src/mds-server/slavery.c +++ b/src/mds-server/slavery.c @@ -145,9 +145,7 @@ client_t* initialise_client(int client_fd) pthread_mutex_unlock(&slave_mutex); free(information); if (entry != LINKED_LIST_UNUSED) - { - with_mutex (slave_mutex, linked_list_remove(&client_list, entry);); - } + with_mutex (slave_mutex, linked_list_remove(&client_list, entry);); return errno = saved_errno, NULL; } |