X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fregistry_machine.c;h=6dc8200d39522f83c94e7d58fff2ea960b908949;hb=0711ceaacadf4b435b11377ce9f0e65392675d2a;hp=3510736df4de73ed35ea247c024e194d4e677c14;hpb=3d239c5bf9abf9a263409fc8a2dc0c190efcdf70;p=netdata.git diff --git a/src/registry_machine.c b/src/registry_machine.c index 3510736d..6dc8200d 100644 --- a/src/registry_machine.c +++ b/src/registry_machine.c @@ -58,7 +58,7 @@ REGISTRY_MACHINE *registry_machine_get(const char *machine_guid, time_t when) { if(likely(machine_guid && *machine_guid)) { // validate it is a GUID char buf[GUID_LEN + 1]; - if(unlikely(registry_regenerate_guid(machine_guid, buf) == -1)) + if(unlikely(regenerate_guid(machine_guid, buf) == -1)) info("Registry: machine guid '%s' is not a valid guid. Ignoring it.", machine_guid); else { machine_guid = buf;