From: Ralph Corderoy Date: Fri, 11 Aug 2017 15:54:31 +0000 (+0100) Subject: mhmisc.c: Indent with "%*s" rather than "%*.*s". X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a1e07630c435cd9fb50aea6563e5835efdc13e03?ds=sidebyside;hp=485fa064f8388272fe00ebfd29e4babf6dfed019 mhmisc.c: Indent with "%*s" rather than "%*.*s". No functional change intended, but it does silence one of gcc's warnings given severe enough options. --- diff --git a/uip/mhmisc.c b/uip/mhmisc.c index 7e278082..53406c03 100644 --- a/uip/mhmisc.c +++ b/uip/mhmisc.c @@ -216,7 +216,7 @@ content_error (char *what, CT ct, char *fmt, ...) i = strlen (invo_name) + 2; /* Now add content type and subtype */ - snprintf (bp, buflen, "\n%*.*s(content %s/%s", i, i, "", + snprintf (bp, buflen, "\n%*s(content %s/%s", i, "", ci->ci_type, ci->ci_subtype); len = strlen (bp); bp += len;