]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fri Dec 19 10:51:02 CST 2008 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:08:28 +0000 (16:08 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 11 Feb 2009 16:08:28 +0000 (16:08 +0000)
  * 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

libs/sofia-sip/libsofia-sip-ua/tport/tport_logging.c

index 7fc2ec3ed5142469bbf6a4fca7581a0dbd8b14f5..9e2d7916b176838ecf29ec4ffd4df41bf72a148b 100644 (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;