summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 14:59:23 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 14:59:34 +0200
commitba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf (patch)
treed1cce44bce3789cb98a2f6d5cf557ce2acde04de /source3
parent34558ae9458519f785c1fee48982b1efccaff446 (diff)
downloadsamba-ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf.tar.gz
samba-ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf.tar.bz2
samba-ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf.zip
s3: ALWAYS run make test before checkin ....
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/serverid.c4
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;
}