Changeset 1027:0117a7746b21 in freeDiameter for libfdcore/p_out.c
- Timestamp:
- Apr 15, 2013, 4:17:07 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_out.c
r1010 r1027 85 85 if (rcvon.tv_sec != 0 || rcvon.tv_nsec != 0) { 86 86 TS_DIFFERENCE( &delay, &rcvon, &senton); 87 fd_msg_log( FD_MSG_LOG_TIMING, cpy_for_logs_only, "Forwarded in % d.%06.6d sec",delay.tv_sec, delay.tv_nsec/1000);87 fd_msg_log( FD_MSG_LOG_TIMING, cpy_for_logs_only, "Forwarded in %ld.%6.6ld sec", (long)delay.tv_sec, delay.tv_nsec/1000); 88 88 } else { /* We log the answer time only for answers generated locally */ 89 89 if (!msg_is_a_req) { … … 94 94 (void) fd_msg_ts_get_recv(req, &reqrcvon); 95 95 TS_DIFFERENCE( &delay, &reqrcvon, &senton); 96 fd_msg_log( FD_MSG_LOG_TIMING, cpy_for_logs_only, "Answered in % d.%06.6d sec",delay.tv_sec, delay.tv_nsec/1000);96 fd_msg_log( FD_MSG_LOG_TIMING, cpy_for_logs_only, "Answered in %ld.%6.6ld sec", (long)delay.tv_sec, delay.tv_nsec/1000); 97 97 } 98 98 }
Note: See TracChangeset
for help on using the changeset viewer.