Ignore:
Timestamp:
Nov 11, 2005 7:01:31 PM (19 years ago)
Author:
bennylp
Message:

First clean compile of pjsip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjsip/src/pjsua/main.c

    r3 r43  
    251251    urllen = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, rdata->from->uri, url, sizeof(url)-1); 
    252252    if (urllen < 1) { 
    253         strcpy(url, "<unknown>"); 
     253        pj_native_strcpy(url, "<unknown>"); 
    254254    } else { 
    255255        url[urllen] = '\0'; 
     
    11041104     
    11051105    if (global.user_id[0]=='\0') { 
    1106         strcpy(global.user_id, "user"); 
     1106        pj_native_strcpy(global.user_id, "user"); 
    11071107    } 
    11081108 
     
    12341234                           rdata->from->uri, from, sizeof(from)); 
    12351235    if (len > 0) from[len] = '\0'; 
    1236     else strcpy(from, "<URL too long..>"); 
     1236    else pj_native_strcpy(from, "<URL too long..>"); 
    12371237 
    12381238    len = pjsip_uri_print( PJSIP_URI_IN_CONTACT_HDR,  
    12391239                           rdata->to->uri, to, sizeof(to)); 
    12401240    if (len > 0) to[len] = '\0'; 
    1241     else strcpy(to, "<URL too long..>"); 
     1241    else pj_native_strcpy(to, "<URL too long..>"); 
    12421242 
    12431243    PJ_LOG(3,(THIS_FILE, "Incoming instant message:")); 
Note: See TracChangeset for help on using the changeset viewer.