summaryrefslogtreecommitdiffstats
path: root/src/registry_person.c
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
commitd4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c (patch)
treefaac99f51f182bb8c0a03e95e393d421ac9ddf42 /src/registry_person.c
parentNew upstream version 1.9.0+dfsg (diff)
downloadnetdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.tar.xz
netdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.zip
New upstream version 1.10.0+dfsgupstream/1.10.0+dfsg
Diffstat (limited to 'src/registry_person.c')
-rw-r--r--src/registry_person.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/registry_person.c b/src/registry_person.c
index 409c76925..d8b6cd98a 100644
--- a/src/registry_person.c
+++ b/src/registry_person.c
@@ -242,7 +242,7 @@ REGISTRY_PERSON_URL *registry_person_link_to_url(REGISTRY_PERSON *p, REGISTRY_MA
pu->machine = m;
}
- if(strcmp(pu->machine_name, name)) {
+ if(strcmp(pu->machine_name, name) != 0) {
// the name of the PERSON_URL has changed !
pu = registry_person_url_reallocate(p, m, u, name, namelen, when, pu);
}