diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-07-29 17:12:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-07-29 17:12:31 +0200 |
commit | 42ee545f4b712a1a5f08481da0abf9a96f4c4575 (patch) | |
tree | 79738fbcb08981e73d48d1daa9a5aa3995eee0b7 /src | |
parent | doc (diff) | |
download | mds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.gz mds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.bz2 mds-42ee545f4b712a1a5f08481da0abf9a96f4c4575.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mds-registry/mds-registry.c | 7 |
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) { |