summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-15 13:56:39 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:29 +0200
commit3bdad95e3b63788a071872317cc7b5d3625c4cde (patch)
tree6887bb4635f0329748bc9afcbb67a2d7776b21c9 /source3
parente27d56c2dae13e2ae49b02f754b3d4a2d487cd59 (diff)
downloadsamba-3bdad95e3b63788a071872317cc7b5d3625c4cde.tar.gz
samba-3bdad95e3b63788a071872317cc7b5d3625c4cde.tar.bz2
samba-3bdad95e3b63788a071872317cc7b5d3625c4cde.zip
s3:util: also compare the unique_id in procid_equal().
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 49cd7719e3..3559b45edc 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2066,6 +2066,9 @@ bool procid_equal(const struct server_id *p1, const struct server_id *p2)
return False;
if (p1->vnn != p2->vnn)
return False;
+ if (p1->unique_id != p2->unique_id) {
+ return false;
+ }
return True;
}