提交 470a963e authored 作者: Michael Jerris's avatar Michael Jerris

Fri Dec 19 10:51:02 CST 2008 Pekka Pessi <first.last@nokia.com>

  * tport_logging.c: do not use stamp as format string
  
  Original patch by Mike Jerris.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11767 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0ac71634
......@@ -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("%s", 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论