]> diplodocus.org Git - nmh/commit
Silence more gcc format-string warnings.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 14:42:48 +0000 (15:42 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 14:42:48 +0000 (15:42 +0100)
commit39ecf70bb88f71d5e13015ba143b946ccd8f02b4
treedc52829e9ec9bf0b70077abdfa8267d98b9ad82c
parentbf08a48f1114384817364f40b1e8393466a48355
Silence more gcc format-string warnings.

By enabling more checks, gcc has found some real bugs, e.g. `printf(buf,
"%d", i)'.  Other changes required duplicating the formatting call with
a constant format string;  a local macro was used to avoid repeating all
the many arguments.
sbr/ext_hook.c
sbr/message_id.c
sbr/oauth.c
uip/annosbr.c
uip/fmtdump.c
uip/mhlogin.c
uip/sendsbr.c