Changeset 4890 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
- Timestamp:
- Aug 19, 2014 12:54:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
r4712 r4890 69 69 static const pj_str_t STR_MIME_APP = { "application", 11 }; 70 70 static const pj_str_t STR_MIME_ISCOMPOSING = { "im-iscomposing+xml", 18 }; 71 static const pj_str_t STR_MIME_TEXT = { "text", 4 };72 static const pj_str_t STR_MIME_PLAIN = { "plain", 5 };73 71 74 72 … … 77 75 static pj_bool_t acceptable_message(const pjsip_media_type *mime) 78 76 { 77 const pj_str_t STR_MIME_TEXT = { "text", 4 }; 78 const pj_str_t STR_MIME_PLAIN = { "plain", 5 }; 79 79 return (pj_stricmp(&mime->type, &STR_MIME_TEXT)==0 && 80 80 pj_stricmp(&mime->subtype, &STR_MIME_PLAIN)==0)
Note: See TracChangeset
for help on using the changeset viewer.