]> arthur.barton.de Git - netdata.git/blobdiff - src/registry_person.c
added compile option NETDATA_VERIFY_LOCKS to enable the locks
[netdata.git] / src / registry_person.c
index 5f9099c9aa6995eb2bc761910c31865a680393d9..409c76925ba54719cff0fc85c4e75c0753331cbb 100644 (file)
@@ -183,7 +183,7 @@ REGISTRY_PERSON *registry_person_get(const char *person_guid, time_t when) {
     if(person_guid && *person_guid) {
         char buf[GUID_LEN + 1];
         // validate it is a GUID
-        if(unlikely(registry_regenerate_guid(person_guid, buf) == -1))
+        if(unlikely(regenerate_guid(person_guid, buf) == -1))
             info("Registry: person guid '%s' is not a valid guid. Ignoring it.", person_guid);
         else {
             person_guid = buf;