mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Change argument order of log_printhex.
* common/logging.c (log_printhex): Chnage order of args. Make it printf alike. Change all callers. * configure.ac: Add -Wno-format-zero-length -- This makes it consistent with modern libgpgrt logging and thus eases back porting from newer GnuPG versions which use libgpgrt logging. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
aec7d136e4
commit
c6324ee07a
26 changed files with 84 additions and 76 deletions
|
@ -1351,7 +1351,7 @@ cache_isvalid (ctrl_t ctrl, const char *issuer_hash,
|
|||
{
|
||||
log_error (_("WARNING: invalid cache record length for S/N "));
|
||||
log_printf ("0x");
|
||||
log_printhex ("", sn, snlen);
|
||||
log_printhex (sn, snlen, "");
|
||||
}
|
||||
else if (opt.verbose)
|
||||
{
|
||||
|
|
|
@ -284,7 +284,7 @@ dump_string (const char *string)
|
|||
else
|
||||
{
|
||||
log_printf ( "[ ");
|
||||
log_printhex (NULL, string, strlen (string));
|
||||
log_printhex (string, strlen (string), NULL);
|
||||
log_printf ( " ]");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue