diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-14 07:56:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-14 07:56:30 +0200 |
commit | 7519ca9bd37a600032862d72692ccb7f78a25b67 (patch) | |
tree | 451d627a5021873563dfaccf1257155639f61825 /src | |
parent | m doc (diff) | |
download | mds-7519ca9bd37a600032862d72692ccb7f78a25b67.tar.gz mds-7519ca9bd37a600032862d72692ccb7f78a25b67.tar.bz2 mds-7519ca9bd37a600032862d72692ccb7f78a25b67.tar.xz |
Do not echo back messages to the sender
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mds-server/mds-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index c0e4ea0..d0757fd 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -1198,7 +1198,7 @@ void queue_message_multicast(char* message, size_t length, client_t* sender) /* Look for a matching condition. */ n = client->interception_conditions_count; - if (client->open) + if (client->open && (client != sender)) { with_mutex(mutex, if (errno || (client->open == 0)) |