Changeset 3340 for pjproject/trunk/pjsip/src/test/multipart_test.c
- Timestamp:
- Oct 13, 2010 9:41:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test/multipart_test.c
r3244 r3340 117 117 init_media_type(&mt, h_content_type, h_content_subtype, boundary); 118 118 119 if (pjsip_media_type_cmp(&ctype_hdr->media, &mt ) != 0)119 if (pjsip_media_type_cmp(&ctype_hdr->media, &mt, 2) != 0) 120 120 return -20; 121 121 … … 154 154 /* Check content-type: "multipart/mixed;boundary=12345" */ 155 155 init_media_type(&mt, "multipart", "mixed", "12345"); 156 if (pjsip_media_type_cmp(&body->content_type, &mt ) != 0)156 if (pjsip_media_type_cmp(&body->content_type, &mt, 2) != 0) 157 157 return -200; 158 158
Note: See TracChangeset
for help on using the changeset viewer.