- Timestamp:
- Sep 7, 2011 11:28:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_acc.c
r3594 r3742 2473 2473 contact->ptr = (char*)pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 2474 2474 contact->slen = pj_ansi_snprintf(contact->ptr, PJSIP_MAX_URL_SIZE, 2475 "%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s%s>%.*s", 2475 "%s%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s%s>%.*s", 2476 (acc->display.slen?"\"" : ""), 2476 2477 (int)acc->display.slen, 2477 2478 acc->display.ptr, 2478 (acc->display.slen?" " : ""),2479 (acc->display.slen?"\" " : ""), 2479 2480 (secure ? PJSUA_SECURE_SCHEME : "sip"), 2480 2481 (int)acc->user_part.slen, … … 2631 2632 contact->ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 2632 2633 contact->slen = pj_ansi_snprintf(contact->ptr, PJSIP_MAX_URL_SIZE, 2633 "%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s>%.*s", 2634 "%s%.*s%s<%s:%.*s%s%s%.*s%s:%d%s%.*s>%.*s", 2635 (acc->display.slen?"\"" : ""), 2634 2636 (int)acc->display.slen, 2635 2637 acc->display.ptr, 2636 (acc->display.slen?" " : ""),2638 (acc->display.slen?"\" " : ""), 2637 2639 (secure ? PJSUA_SECURE_SCHEME : "sip"), 2638 2640 (int)acc->user_part.slen,
Note: See TracChangeset
for help on using the changeset viewer.