diff options
-rw-r--r-- | source3/lib/serverid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c index e9c72961e6..dc4834b8da 100644 --- a/source3/lib/serverid.c +++ b/source3/lib/serverid.c @@ -187,8 +187,8 @@ static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv) * Use memcmp, not direct compare. data.dptr might not be * aligned. */ - state->exists = - (memcmp(&unique_id, data.dptr, sizeof(unique_id)) == 0); + state->exists = (memcmp(&state->id->unique_id, data.dptr, + sizeof(unique_id)) == 0); return 0; } |