s3:util: also compare the unique_id in procid_equal().
authorMichael Adam <obnox@samba.org>
Fri, 15 Jun 2012 11:56:39 +0000 (13:56 +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 49cd7719e365fe13ad14a65fc67443dac032d14d..3559b45edc8b1d0e5cb0cf8e17bfebcf86db5ee4 100644 (file)
@@ -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;
 }