Navigation



Ignore:
Timestamp:
Jul 19, 2010, 4:46:33 PM (14 years ago)
Author:
Alexandre Westfahl <awestfahl@freediameter.net>
Branch:
default
Phase:
public
Message:

app_sip:Added LIR/LIA for SL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_sip/multimediaauth.c

    r409 r420  
    5757       
    5858       
    59         TRACE_ENTRY("%p %p %p %p", msg, avp, sess, act);
     59        TRACE_ENTRY("%p %p %p %p", msg, paramavp, sess, act);
    6060       
    6161        if (msg == NULL)
     
    223223
    224224                                //We allocate the double size of SIP-URI because at worst it can be all quotes
    225                                 sipuri=malloc(avphdr->avp_value->os.len*2+1);
     225                                CHECK_MALLOC(sipuri=malloc(avphdr->avp_value->os.len*2+1));
    226226                                //We purify SIP-URI not to have forbidden characters
    227227                                sipurilen=mysql_real_escape_string(conn, sipuri, (const char *)avphdr->avp_value->os.data, avphdr->avp_value->os.len);
     
    230230                                //We get the SIP-URI assignated to the user
    231231                                querylen=SQL_GETSIPURI_LEN + usernamelen;
    232                                 query = malloc(querylen+2);
     232                                CHECK_MALLOC(query = malloc(querylen+2));
    233233                                snprintf(query, querylen+1, SQL_GETSIPURI, username);
    234234
Note: See TracChangeset for help on using the changeset viewer.