s3:util: reformat procid_equal() to adhere to coding guidelines
authorMichael Adam <obnox@samba.org>
Fri, 15 Jun 2012 11:58:20 +0000 (13:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 21 Jun 2012 06:27:29 +0000 (08:27 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/lib/util.c

index 3559b45edc8b1d0e5cb0cf8e17bfebcf86db5ee4..7ba46cfb39e8797c556a1145573acb4b731c932e 100644 (file)
@@ -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,