diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-07 01:19:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-07 01:19:30 +0200 |
commit | ef31983ce9d5fd2a195f7653b8836e60ff12a997 (patch) | |
tree | 23320255462322e0cfbe569607cb437317c364bf | |
parent | derp (diff) | |
download | mds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.gz mds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.bz2 mds-ef31983ce9d5fd2a195f7653b8836e60ff12a997.tar.xz |
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-server.c | 4 |
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 |