X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_dns.c;h=e7e04f7c0be835379e31a8461526c8662ac354e8;hp=37fa930ff6c029a7f6d7aac8dbbb8917a53d8ede;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=d45f9cdfc084fc5e8783073b993d58b84deb5d58 diff --git a/src/utils_dns.c b/src/utils_dns.c index 37fa930f..e7e04f7c 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -912,7 +912,7 @@ const char *qtype_str(int t) { return "ANY"; /* ... 255 */ #endif /* __BIND >= 19950621 */ default: - ssnprintf(buf, sizeof(buf), "#%i", t); + snprintf(buf, sizeof(buf), "#%i", t); return buf; } /* switch (t) */ } @@ -931,7 +931,7 @@ const char *opcode_str(int o) { case 5: return "Update"; default: - ssnprintf(buf, sizeof(buf), "Opcode%d", o); + snprintf(buf, sizeof(buf), "Opcode%d", o); return buf; } } @@ -998,7 +998,7 @@ const char *rcode_str(int rcode) { #endif /* RFC2136 rcodes */ #endif /* __BIND >= 19950621 */ default: - ssnprintf(buf, sizeof(buf), "RCode%i", rcode); + snprintf(buf, sizeof(buf), "RCode%i", rcode); return buf; } } /* const char *rcode_str (int rcode) */