mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3:util: reformat procid_equal() to adhere to coding guidelines
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
3bdad95e3b
commit
6289fcffd7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user