summaryrefslogtreecommitdiffstats
path: root/src/adaptive_resortable_list.h
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-01-20 22:59:51 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-01-20 22:59:51 +0200
commit655715342478c5da5d43c5a8e619bd214585db4d (patch)
tree9cd97e4d979c85308167a34cd0635ea10c67abb1 /src/adaptive_resortable_list.h
parentc41fea03077803977dec24d94a26c5425da07806 (diff)
replace strcmp() with strsame() and procfile improvements
Diffstat (limited to 'src/adaptive_resortable_list.h')
-rw-r--r--src/adaptive_resortable_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adaptive_resortable_list.h b/src/adaptive_resortable_list.h
index 157e1f5e72..f27cccfd53 100644
--- a/src/adaptive_resortable_list.h
+++ b/src/adaptive_resortable_list.h
@@ -118,7 +118,7 @@ static inline int arl_check(ARL_BASE *base, const char *keyword, const char *val
uint32_t hash = simple_hash(keyword);
// it should be the first entry (pointed by base->next_keyword)
- if(likely(hash == e->hash && !strcmp(keyword, e->name))) {
+ if(likely(hash == e->hash && !strsame(keyword, e->name))) {
// it is
#ifdef NETDATA_INTERNAL_CHECKS