Changeset 43 for pjproject/main/pjsip/src/pjsua/main.c
- Timestamp:
- Nov 11, 2005 7:01:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjsip/src/pjsua/main.c
r3 r43 251 251 urllen = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, rdata->from->uri, url, sizeof(url)-1); 252 252 if (urllen < 1) { 253 strcpy(url, "<unknown>");253 pj_native_strcpy(url, "<unknown>"); 254 254 } else { 255 255 url[urllen] = '\0'; … … 1104 1104 1105 1105 if (global.user_id[0]=='\0') { 1106 strcpy(global.user_id, "user");1106 pj_native_strcpy(global.user_id, "user"); 1107 1107 } 1108 1108 … … 1234 1234 rdata->from->uri, from, sizeof(from)); 1235 1235 if (len > 0) from[len] = '\0'; 1236 else strcpy(from, "<URL too long..>");1236 else pj_native_strcpy(from, "<URL too long..>"); 1237 1237 1238 1238 len = pjsip_uri_print( PJSIP_URI_IN_CONTACT_HDR, 1239 1239 rdata->to->uri, to, sizeof(to)); 1240 1240 if (len > 0) to[len] = '\0'; 1241 else strcpy(to, "<URL too long..>");1241 else pj_native_strcpy(to, "<URL too long..>"); 1242 1242 1243 1243 PJ_LOG(3,(THIS_FILE, "Incoming instant message:"));
Note: See TracChangeset
for help on using the changeset viewer.