diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 14:59:23 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-04 14:59:34 +0200 |
commit | ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf (patch) | |
tree | d1cce44bce3789cb98a2f6d5cf557ce2acde04de /source3 | |
parent | 34558ae9458519f785c1fee48982b1efccaff446 (diff) | |
download | samba-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.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; } |