From 42ee545f4b712a1a5f08481da0abf9a96f4c4575 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 29 Jul 2014 17:12:31 +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-registry/mds-registry.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mds-registry/mds-registry.c b/src/mds-registry/mds-registry.c index 4264596..96cf05d 100644 --- a/src/mds-registry/mds-registry.c +++ b/src/mds-registry/mds-registry.c @@ -150,11 +150,8 @@ int master_loop(void) { int r = mds_message_read(&received, socket_fd); if (r == 0) - { - r = handle_message(); - if (r == 0) - continue; - } + if (r = handle_message(), r == 0) + continue; if (r == -2) { -- cgit v1.2.3-70-g09d2