X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fprotocols.c;h=b63dee9a196def27c632556a1cb4c9021a07efcc;hp=32e98243d9c2f54f312dba8c866adb93c0d58b68;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=c144ae4659e129a929afb67706a54604220fef43 diff --git a/src/protocols.c b/src/protocols.c index 32e98243..b63dee9a 100644 --- a/src/protocols.c +++ b/src/protocols.c @@ -156,8 +156,8 @@ static int read_file(const char *path) { if (values_list != NULL) { char match_name[2 * DATA_MAX_NAME_LEN]; - ssnprintf(match_name, sizeof(match_name), "%s:%s", key_buffer, - key_fields[i]); + snprintf(match_name, sizeof(match_name), "%s:%s", key_buffer, + key_fields[i]); if (ignorelist_match(values_list, match_name)) continue;