From c99fde787781d43d2ada1e89d82a0e6a561656b6 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 00:32:37 +0100 Subject: [PATCH] Replace sizeof string constant - 1 with LEN(). --- uip/show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/show.c b/uip/show.c index a3970d86..b7f85fe1 100644 --- a/uip/show.c +++ b/uip/show.c @@ -447,7 +447,7 @@ invalid: if (*dp) { if ((result = !uprf (dp, "charset"))) goto out; - dp += sizeof("charset") - 1; + dp += LEN("charset"); while (isspace ((unsigned char) *dp)) dp++; if (*dp++ != '=') -- 2.56.0