aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/mds-registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-registry/mds-registry.c')
-rw-r--r--src/mds-registry/mds-registry.c7
1 files changed, 2 insertions, 5 deletions
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)
{