From 6289fcffd7de288aa67eff7bee11081aae195104 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 15 Jun 2012 13:58:20 +0200 Subject: s3:util: reformat procid_equal() to adhere to coding guidelines Signed-off-by: Stefan Metzmacher --- source3/lib/util.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'source3/lib') 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, -- cgit