summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,