X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=src%2Fregistry_url.c;h=b7412adaf3706f66cf4bb18c805698c81ddaef50;hp=52d36a898e285b713bc7ac4e969d9118071e2313;hb=655715342478c5da5d43c5a8e619bd214585db4d;hpb=c41fea03077803977dec24d94a26c5425da07806 diff --git a/src/registry_url.c b/src/registry_url.c index 52d36a89..b7412ada 100644 --- a/src/registry_url.c +++ b/src/registry_url.c @@ -6,7 +6,7 @@ int registry_url_compare(void *a, void *b) { if(((REGISTRY_URL *)a)->hash < ((REGISTRY_URL *)b)->hash) return -1; else if(((REGISTRY_URL *)a)->hash > ((REGISTRY_URL *)b)->hash) return 1; - else return strcmp(((REGISTRY_URL *)a)->url, ((REGISTRY_URL *)b)->url); + else return strsame(((REGISTRY_URL *)a)->url, ((REGISTRY_URL *)b)->url); } inline REGISTRY_URL *registry_url_index_add(REGISTRY_URL *u) {