diff options
Diffstat (limited to '')
-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 283251a..df6d552 100644 --- a/src/mds-server/slavery.c +++ b/src/mds-server/slavery.c @@ -137,9 +137,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);); errno = errno_; return NULL; } |