1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3: ALWAYS run make test before checkin ....

This commit is contained in:
Volker Lendecke 2010-07-04 14:59:23 +02:00
parent 34558ae945
commit ba57d23c1c

View File

@ -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;
}