From 05f9221fff81eaf4d1677958700a6ffc8c61c10c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 May 2014 07:51:03 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/mds-server.c | 3 ++- src/mds.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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; diff --git a/src/mds.c b/src/mds.c index 12684b9..8651cdf 100644 --- a/src/mds.c +++ b/src/mds.c @@ -510,7 +510,7 @@ int unlink_recursive(const char* pathname) eprint("pop"); } - /* Remvoe the drectory. */ + /* Remove the drectory. */ if (rmdir(pathname) < 0) goto pfail; -- cgit v1.2.3-70-g09d2