aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/mds-server.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-18 07:51:03 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-18 07:51:03 +0200
commit05f9221fff81eaf4d1677958700a6ffc8c61c10c (patch)
treea74fb805e9409f42846b0ac7cd2502531d04b2a9 /src/mds-server/mds-server.c
parentreduce code complexity (diff)
downloadmds-05f9221fff81eaf4d1677958700a6ffc8c61c10c.tar.gz
mds-05f9221fff81eaf4d1677958700a6ffc8c61c10c.tar.bz2
mds-05f9221fff81eaf4d1677958700a6ffc8c61c10c.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server/mds-server.c')
-rw-r--r--src/mds-server/mds-server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c
index c9e41c0..0d669ad 100644
--- a/src/mds-server/mds-server.c
+++ b/src/mds-server/mds-server.c
@@ -137,6 +137,7 @@ static pthread_cond_t modify_cond;
static hash_table_t modify_map;
+
/**
* Entry point of the server
*
@@ -1308,7 +1309,7 @@ void multicast_message(multicast_t* multicast)
}
/* Do not wait for a reply if it is non-modifying. */
- if (client_.modifying)
+ if (client_.modifying == 0)
{
/* Reset how much of the message has been sent before we continue with next recipient. */
multicast->message_ptr = 0;