Changeset 2877 for pjproject/trunk
- Timestamp:
- Aug 13, 2009 4:17:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/presence_body.c
r2876 r2877 85 85 /* Add tuple id. */ 86 86 if (status->info[i].id.slen == 0) { 87 pj_create_unique_string(pool, &id);88 87 /* xs:ID must start with letter */ 88 //pj_create_unique_string(pool, &id); 89 id.ptr = (char*)pj_pool_alloc(pool, PJ_GUID_STRING_LENGTH+2); 90 id.ptr += 2; 91 pj_generate_unique_string(&id); 92 id.ptr -= 2; 89 93 id.ptr[0] = 'p'; 94 id.ptr[1] = 'j'; 95 id.slen += 2; 90 96 } else { 91 97 id = status->info[i].id;
Note: See TracChangeset
for help on using the changeset viewer.