From ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 14:59:23 +0200 Subject: s3: ALWAYS run make test before checkin .... --- source3/lib/serverid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; } -- cgit