aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/slavery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server/slavery.c')
-rw-r--r--src/mds-server/slavery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds-server/slavery.c b/src/mds-server/slavery.c
index a951f99..7ff801d 100644
--- a/src/mds-server/slavery.c
+++ b/src/mds-server/slavery.c
@@ -130,7 +130,7 @@ client_t* initialise_client(int client_fd)
return information;
- pfail:
+ fail:
saved_errno = errno;
if (locked)
pthread_mutex_unlock(&slave_mutex);
@@ -139,6 +139,6 @@ client_t* initialise_client(int client_fd)
{
with_mutex (slave_mutex, linked_list_remove(&client_list, entry););
}
- return saved_errno = errno, NULL;
+ return errno = saved_errno, NULL;
}