Mercurial > hg > freeDiameter
changeset 999:0f71fc6c069f
Fix compilation warning
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 21 Mar 2013 15:04:14 +0100 |
parents | ad6c1ee04d2d |
children | aeb202e2dbef |
files | libfdcore/cnxctx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libfdcore/cnxctx.c Wed Mar 20 16:39:15 2013 +0100 +++ b/libfdcore/cnxctx.c Thu Mar 21 15:04:14 2013 +0100 @@ -1207,7 +1207,7 @@ char buf[1024]; snprintf(buf, sizeof(buf), "\t - Certificate serial number: "); for (j = 0; j < size; j++) { - snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), "%02.2hhx", serial[j]); + snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), "%02hhx", serial[j]); } fd_log_debug(buf); }