2009/2/10 Fabio Margarido <fabiomargar...@gmail.com>:
> The msg_multipart_t structure that results from msg_multipart_parse() has
> NULL mp_content_type fields. When the headers are in the long form,
> everything is parsed correctly.

MIME multipart parser has short forms disabled. You can to add support
to them with parser table generation:

--- old-ss-head/libsofia-sip-ua/msg/Makefile.am 2009-02-10
16:24:14.000000000 +0200
+++ new-ss-head/libsofia-sip-ua/msg/Makefile.am 2009-02-10
16:24:14.000000000 +0200
@@ -121,6 +121,6 @@

 msg_mime_table.c: ${srcdir}/msg_mime_table.c.in
        $(AWK_MSG_AWK) module=msg_multipart \
-               tprefix=msg prefix=mp MC_HASH_SIZE=127 \
+               tprefix=msg prefix=mp MC_HASH_SIZE=127 MC_SHORT_SIZE=26 \
                PT=$@ TEMPLATE=${srcdir}/msg_mime_table.c.in \
                ${SS_MIME_H}

Could you please check that all the header class structures in
msg_mime.c have correct short forms?

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to