Changeset 5729


Ignore:
Timestamp:
Jan 18, 2018 5:44:41 AM (23 months ago)
Author:
riza
Message:

Re #2059 (misc): Use PJSIP_MAX_URL_SIZE to print remote info (URL) instead of
hard-coded.

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp_report.c

    r3553 r5729  
    3636    pjsip_dialog *dlg = inv->dlg; 
    3737    struct media_stream *audio = &call->media[0]; 
    38     char userinfo[128]; 
     38    char userinfo[PJSIP_MAX_URL_SIZE]; 
    3939    char duration[80], last_update[80]; 
    4040    char bps[16], ipbps[16], packets[16], bytes[16], ipbytes[16]; 
  • pjproject/trunk/pjsip/src/pjsip/sip_ua_layer.c

    r5573 r5729  
    926926{ 
    927927    int len; 
    928     char userinfo[128]; 
     928    char userinfo[PJSIP_MAX_URL_SIZE]; 
    929929 
    930930    len = pjsip_hdr_print_on(dlg->remote.info, userinfo, sizeof(userinfo)); 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c

    r5170 r5729  
    890890    pjsip_inv_session *inv = pjsua_var.calls[call_id].inv; 
    891891    pjsip_dialog *dlg; 
    892     char userinfo[128]; 
     892    char userinfo[PJSIP_MAX_URL_SIZE]; 
    893893 
    894894    /* Dump invite sesion info. */ 
Note: See TracChangeset for help on using the changeset viewer.