Changeset 714:a49d05084fff in freeDiameter for extensions/test_acct/test_acct.c
- Timestamp:
- Feb 15, 2011, 2:23:48 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/test_acct/test_acct.c
r662 r714 62 62 struct avp * a = NULL; 63 63 struct avp_hdr * h = NULL; 64 char * s; 64 os0_t s; 65 size_t sl; 65 66 66 67 qry = *msg; … … 74 75 fd_log_debug("--------------Received the following Accounting message:--------------\n"); 75 76 76 CHECK_FCT( fd_sess_getsid ( sess, &s ) );77 fd_log_debug("Session: % s\n", s);77 CHECK_FCT( fd_sess_getsid ( sess, &s, &sl ) ); 78 fd_log_debug("Session: %.*s\n", (int)sl, s); 78 79 79 80 /* The AVPs that we copy in the answer */
Note: See TracChangeset
for help on using the changeset viewer.