aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-14 07:56:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-14 07:56:30 +0200
commit7519ca9bd37a600032862d72692ccb7f78a25b67 (patch)
tree451d627a5021873563dfaccf1257155639f61825 /src/mds-server
parentm doc (diff)
downloadmds-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/mds-server')
-rw-r--r--src/mds-server/mds-server.c2
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))