aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-07 01:19:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-07 01:19:30 +0200
commitef31983ce9d5fd2a195f7653b8836e60ff12a997 (patch)
tree23320255462322e0cfbe569607cb437317c364bf /src
parentderp (diff)
downloadmds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.gz
mds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.bz2
mds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mds-server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mds-server.c b/src/mds-server.c
index f5e28ad..3ddfaa9 100644
--- a/src/mds-server.c
+++ b/src/mds-server.c
@@ -610,6 +610,7 @@ void message_received(client_t* client) /* TODO */
/* Assign ID if not already assigned. */
if (client->id == 0)
{
+ /* Do the assignment. */
with_mutex(slave_mutex,
client->id = next_id++;
if (next_id == 0)
@@ -623,7 +624,8 @@ void message_received(client_t* client) /* TODO */
abort();
}
);
- /* TODO: add interception:
+
+ /* TODO: Make the client listen for messages addressed to it.
To: $(assign_id)
Priority: 0
Modifying: no