Commit 4fa70c9f authored by Pekka Pessi's avatar Pekka Pessi

tport_logging.c: do not use stamp as format string

Original patch by Mike Jerris.

darcs-hash:20081219165102-db55f-92c4ef7068f959f14ae54a3304467e4aa42bd252.gz
parent 1e7fe413
......@@ -232,8 +232,7 @@ void tport_log_msg(tport_t *self, msg_t *msg,
n += iov[i].mv_len;
tport_stamp(self, msg, stamp, what, n, via, now);
su_log(stamp);
su_log(" " MSG_SEPARATOR);
su_log("%s " MSG_SEPARATOR, stamp);
for (i = 0; truncated == 0 && i < iovlen && i < 80; i++) {
char *s = iov[i].mv_base, *end = s + iov[i].mv_len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment