summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-15 13:58:20 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:29 +0200
commit6289fcffd7de288aa67eff7bee11081aae195104 (patch)
tree9c5a1e5bf622f48932606c6f1e0267492ccaca05 /source3
parent3bdad95e3b63788a071872317cc7b5d3625c4cde (diff)
downloadsamba-6289fcffd7de288aa67eff7bee11081aae195104.tar.gz
samba-6289fcffd7de288aa67eff7bee11081aae195104.tar.bz2
samba-6289fcffd7de288aa67eff7bee11081aae195104.zip
s3:util: reformat procid_equal() to adhere to coding guidelines
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 3559b45edc..7ba46cfb39 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2060,16 +2060,23 @@ struct server_id *new_server_id_task(TALLOC_CTX *mem_ctx)
bool procid_equal(const struct server_id *p1, const struct server_id *p2)
{
- if (p1->pid != p2->pid)
- return False;
- if (p1->task_id != p2->task_id)
- return False;
- if (p1->vnn != p2->vnn)
- return False;
+ if (p1->pid != p2->pid) {
+ return false;
+ }
+
+ if (p1->task_id != p2->task_id) {
+ return false;
+ }
+
+ if (p1->vnn != p2->vnn) {
+ return false;
+ }
+
if (p1->unique_id != p2->unique_id) {
return false;
}
- return True;
+
+ return true;
}
bool cluster_id_equal(const struct server_id *id1,