aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-vt.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-vt.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c
index dd30b46..aa82d34 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -374,13 +374,9 @@ int master_loop(void)
/* FIXME */
}
- r = mds_message_read(&received, socket_fd);
- if (r == 0)
- {
- r = 0; /* FIXME */
- if (r == 0)
- continue;
- }
+ if (r = mds_message_read(&received, socket_fd), r == 0)
+ if (r = 0, r == 0) /* FIXME */
+ continue;
if (r == -2)
{