Navigation


Changeset 216:87c31fd10e9c in freeDiameter for include


Ignore:
Timestamp:
Feb 18, 2010, 4:18:02 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix error in TRACE_DEBUG_BUFFER macro that was breaking session resume support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfreeDiameter.h

    r206 r216  
    467467#define TRACE_DEBUG_BUFFER(level, prefix, buf, bufsz, suffix ) {                                                                \
    468468        if ( TRACE_BOOL(level) ) {                                                                                              \
     469                char __ts[25];                                                                                                  \
    469470                int __i;                                                                                                        \
    470471                size_t __sz = (size_t)(bufsz);                                                                                  \
     
    473474                fd_log_debug("\t | tid:%-20s\t%s\tin %s@%s:%d\n"                                                                \
    474475                          "\t%s|%*s" prefix ,                                                                                   \
    475                                         __thn, fd_log_time(NULL, __buf, sizeof(__buf)), __PRETTY_FUNCTION__, __FILE__, __LINE__,\
     476                                        __thn, fd_log_time(NULL, __ts, sizeof(__ts)), __PRETTY_FUNCTION__, __FILE__, __LINE__,  \
    476477                                        (level < FULL)?"@":" ",level, "");                                                      \
    477478                for (__i = 0; __i < __sz; __i++) {                                                                              \
Note: See TracChangeset for help on using the changeset viewer.