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
This commit is contained in:
Michael Jerris 2009-02-11 16:08:28 +00:00
parent 0ac71634bf
commit 470a963e03
1 changed files with 1 additions and 2 deletions

View File

@ -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;