X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0c6ca11759d7edc122e7f1ac4f95444b81c161b2..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/uip/show.c diff --git a/uip/show.c b/uip/show.c index a3970d86..25ed7573 100644 --- a/uip/show.c +++ b/uip/show.c @@ -192,8 +192,7 @@ usage: } else { if (mode != SHOW) goto usage; - else - app_msgarg(&msgs, cp); + app_msgarg(&msgs, cp); } } @@ -447,7 +446,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++ != '=')