From: <svn...@op...> - 2009-07-13 12:47:09
|
Author: bellmich Date: Mon Jul 13 14:47:01 2009 New Revision: 1186 URL: http://libsyncml.opensync.org/changeset/1186 Log: fixed wrong assignment of parsed session ID Modified: trunk/libsyncml/parser/sml_xml_parse.c Modified: trunk/libsyncml/parser/sml_xml_parse.c ============================================================================== --- trunk/libsyncml/parser/sml_xml_parse.c Mon Jul 13 14:38:38 2009 (r1185) +++ trunk/libsyncml/parser/sml_xml_parse.c Mon Jul 13 14:47:01 2009 (r1186) @@ -2376,7 +2376,7 @@ guint64 id = 0; if (!_smlXmlParserGetID(parser, &id, SML_ELEMENT_SESSIONID, error)) goto error_free_header; - id = (*header)->sessionID; + (*header)->sessionID = id; } else if (!strcmp((char *)xmlTextReaderConstName(parser->reader), SML_ELEMENT_MSGID)) { guint64 id = 0; if (!_smlXmlParserGetID(parser, &id, SML_ELEMENT_MSGID, error)) |