Ignore:
Timestamp:
Oct 13, 2010 9:41:37 AM (11 years ago)
Author:
bennylp
Message:

Fixed #1147: Bug in parsing multipart message bodies (thanks Johan Lantz for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_multipart.c

    r3255 r3340  
    397397 
    398398    while (part != &m_data->part_head) { 
    399         if (pjsip_media_type_cmp(&part->body->content_type, content_type)==0) 
     399        if (pjsip_media_type_cmp(&part->body->content_type, 
     400                                 content_type, 0)==0) 
     401        { 
    400402            return part; 
     403        } 
    401404        part = part->next; 
    402405    } 
Note: See TracChangeset for help on using the changeset viewer.