use hash for tags
Costa Tsaousis (ktsaou) committed
Jul 18, 2018 at 21:58 UTC
4ad1c40d47059b47da28b9ecb856cb549b7b2009
1 file changed
+1
-1
src/statsd.c
+1
-1
@@ -712,7 +712,7 @@ static inline size_t statsd_process(char *buffer, size_t size, int require_newli
712
713
if(likely(*s == '|' || *s == '#')) {
714
s = tags_end = (char *) statsd_parse_skip_up_to(tags = ++s, '|', '|');
715
- if(*tags == '@') tags++;
715
+ if(*tags == '#') tags++;
716
}
717
718
// skip everything until the end of the line