diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-20 22:59:51 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-20 22:59:51 +0200 |
commit | 655715342478c5da5d43c5a8e619bd214585db4d (patch) | |
tree | 9cd97e4d979c85308167a34cd0635ea10c67abb1 /src/adaptive_resortable_list.h | |
parent | c41fea03077803977dec24d94a26c5425da07806 (diff) |
replace strcmp() with strsame() and procfile improvements
Diffstat (limited to 'src/adaptive_resortable_list.h')
-rw-r--r-- | src/adaptive_resortable_list.h | 2 |
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 |