summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/serverid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index f774170784..74effa4c31 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -213,7 +213,6 @@ static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv)
{
struct serverid_exists_state *state =
(struct serverid_exists_state *)priv;
- uint64_t unique_id;
if (data.dsize != sizeof(struct serverid_data)) {
return -1;
@@ -224,7 +223,7 @@ static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv)
* aligned.
*/
state->exists = (memcmp(&state->id->unique_id, data.dptr,
- sizeof(unique_id)) == 0);
+ sizeof(state->id->unique_id)) == 0);
return 0;
}