Ignore:
Timestamp:
Apr 13, 2017 3:50:51 AM (7 years ago)
Author:
ming
Message:

Re #1994 (misc): Use compile-time setting PJSIP_MAX_URL_SIZE for local and remote info's buffer size (instead of hard-coded).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r5493 r5582  
    42324232    /** Internal */ 
    42334233    struct { 
    4234         char    local_info[128]; 
    4235         char    local_contact[128]; 
    4236         char    remote_info[128]; 
    4237         char    remote_contact[128]; 
     4234        char    local_info[PJSIP_MAX_URL_SIZE]; 
     4235        char    local_contact[PJSIP_MAX_URL_SIZE]; 
     4236        char    remote_info[PJSIP_MAX_URL_SIZE]; 
     4237        char    remote_contact[PJSIP_MAX_URL_SIZE]; 
    42384238        char    call_id[128]; 
    42394239        char    last_status_text[128]; 
Note: See TracChangeset for help on using the changeset viewer.