From ef31983ce9d5fd2a195f7653b8836e60ff12a997 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 7 May 2014 01:19:30 +0200 Subject: m doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2