aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/client.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-11 03:57:21 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-11 03:57:21 +0200
commite64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6 (patch)
tree2549d7f18077d293b7b0311f749e73a21715d46b /src/mds-server/client.c
parentwhitespace (diff)
downloadmds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.gz
mds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.bz2
mds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.xz
move mutex_created into client_t + error handling for pthread_*_init
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-server/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds-server/client.c b/src/mds-server/client.c
index f48a1b0..08205b2 100644
--- a/src/mds-server/client.c
+++ b/src/mds-server/client.c
@@ -84,6 +84,7 @@ size_t client_unmarshal(client_t* restrict this, char* restrict data)
size_t i, n, rc = sizeof(ssize_t) + 2 * sizeof(int) + sizeof(uint64_t) + 3 * sizeof(size_t);
this->interception_conditions = NULL;
this->send_pending = NULL;
+ this->mutex_created = 0;
buf_get_next(data, ssize_t, this->list_entry);
buf_get_next(data, int, this->socket_fd);
buf_get_next(data, int, this->open);