aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-29 17:12:31 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-29 17:12:31 +0200
commit42ee545f4b712a1a5f08481da0abf9a96f4c4575 (patch)
tree79738fbcb08981e73d48d1daa9a5aa3995eee0b7 /src
parentdoc (diff)
downloadmds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.gz
mds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.bz2
mds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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)
{