X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d07444a5f284ac724cdc7a120831f1585e7185b9..675f67a20b0a94eef8288b0016f959a1597615cc:/print-zephyr.c diff --git a/print-zephyr.c b/print-zephyr.c index bce7394b..10aaf216 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -119,7 +119,7 @@ z_triple(const char *class, const char *inst, const char *recipient) { if (!*recipient) recipient = "*"; - nd_snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient); + snprintf(z_buf, sizeof(z_buf), "<%s,%s,%s>", class, inst, recipient); z_buf[sizeof(z_buf)-1] = '\0'; return z_buf; } @@ -134,7 +134,7 @@ str_to_lower(const char *string) zb_string = z_buf; while (*zb_string) { - *zb_string = tolower((unsigned char)(*zb_string)); + *zb_string = ND_TOLOWER((unsigned char)(*zb_string)); zb_string++; }