diff options
Diffstat (limited to 'claim')
-rw-r--r-- | claim/claim.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/claim/claim.c b/claim/claim.c index bce231a9bc..b29afe6df2 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -165,8 +165,7 @@ void load_claiming_state(void) } localhost->aclk_state.claimed_id = claimed_id; - if (likely(claimed_id)) - store_claim_id(&localhost->host_uuid, &uuid); + store_claim_id(&localhost->host_uuid, claimed_id ? &uuid : NULL); rrdhost_aclk_state_unlock(localhost); if (!claimed_id) { |