Navigation


Changeset 714:a49d05084fff in freeDiameter


Ignore:
Timestamp:
Feb 15, 2011, 2:23:48 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fixed wrong prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_acct/test_acct.c

    r662 r714  
    6262                struct avp * a = NULL;
    6363                struct avp_hdr * h = NULL;
    64                 char * s;
     64                os0_t s;
     65                size_t sl;
    6566       
    6667                qry = *msg;
     
    7475                fd_log_debug("--------------Received the following Accounting message:--------------\n");
    7576               
    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);
    7879               
    7980                /* The AVPs that we copy in the answer */
Note: See TracChangeset for help on using the changeset viewer.