Mercurial > hg > freeDiameter
diff libfdcore/cnxctx.c @ 1027:0117a7746b21
Fix a number of errors and warnings introduced/highlighted by recent commits
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 15 Apr 2013 15:17:07 +0800 |
parents | 0f71fc6c069f |
children | e63de8d76916 |
line wrap: on
line diff
--- a/libfdcore/cnxctx.c Sat Apr 13 22:18:05 2013 +0200 +++ b/libfdcore/cnxctx.c Mon Apr 15 15:17:07 2013 +0800 @@ -512,7 +512,7 @@ /* Get the list of endpoints (IP addresses) of the local and remote peers on this connection */ int fd_cnx_getremoteeps(struct cnxctx * conn, struct fd_list * eps) { - TRACE_ENTRY("%p %p %p", conn, eps); + TRACE_ENTRY("%p %p", conn, eps); CHECK_PARAMS(conn && eps); /* Check we have a full connection object, not a listening socket (with no remote) */ @@ -1209,7 +1209,7 @@ for (j = 0; j < size; j++) { snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), "%02hhx", serial[j]); } - fd_log_debug(buf); + fd_log_debug("%s", buf); } /* Extract some of the public key algorithm's parameters */