Changeset 2876 for pjproject/trunk


Ignore:
Timestamp:
Aug 13, 2009 4:05:55 PM (15 years ago)
Author:
bennylp
Message:

Fixed ticket #938: Presence PIDF document may be rejected by presence servers that implement strict XML checking (thanks Johan Lantz for the fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/presence_body.c

    r2764 r2876  
    8686        if (status->info[i].id.slen == 0) { 
    8787            pj_create_unique_string(pool, &id); 
     88            /* xs:ID must start with letter */ 
     89            id.ptr[0] = 'p'; 
    8890        } else { 
    8991            id = status->info[i].id; 
Note: See TracChangeset for help on using the changeset viewer.