]> diplodocus.org Git - nmh/commitdiff
mhmisc.c: Indent with "%*s" rather than "%*.*s".
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 11 Aug 2017 15:54:31 +0000 (16:54 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 11 Aug 2017 15:54:31 +0000 (16:54 +0100)
No functional change intended, but it does silence one of gcc's warnings
given severe enough options.

uip/mhmisc.c

index 7e278082cc452f9db49976a5251d435f62ef9a45..53406c03826320739b464ccd98db8565cefc60f5 100644 (file)
@@ -216,7 +216,7 @@ content_error (char *what, CT ct, char *fmt, ...)
     i = strlen (invo_name) + 2;
 
     /* Now add content type and subtype */
     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;
        ci->ci_type, ci->ci_subtype);
     len = strlen (bp);
     bp += len;