aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/registry.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-05 14:50:38 +0100
committerMattias Andrée <maandree@kth.se>2017-11-05 14:50:38 +0100
commit9ed21175ac00f57f6abf3da84e82098e68fa3e94 (patch)
tree6235ac14c78fe0bbc074eb5146a641ba0e08fb5f /src/mds-registry/registry.c
parentUpdate year and e-mail address (diff)
downloadmds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.gz
mds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.bz2
mds-9ed21175ac00f57f6abf3da84e82098e68fa3e94.tar.xz
Work on changing style
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/mds-registry/registry.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mds-registry/registry.c b/src/mds-registry/registry.c
index f5a9b8a..0c4d5a5 100644
--- a/src/mds-registry/registry.c
+++ b/src/mds-registry/registry.c
@@ -465,7 +465,8 @@ handle_register_message(void)
* @return Zero on success, -1 on error or interruption,
* `errno` will be set accordingly
*/
-int handle_message(void)
+int
+handle_message(void)
{
size_t i;
for (i = 0; i < received.header_count; i++) {
@@ -476,6 +477,6 @@ int handle_message(void)
}
fail_if (handle_close_message());
return 0;
- fail:
+fail:
return -1;
}