LP#1703411 XMPP opensrf sub-element repairs
authorBill Erickson <berickxx@gmail.com>
Wed, 19 Sep 2018 19:34:49 +0000 (15:34 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 20 Sep 2018 19:10:40 +0000 (15:10 -0400)
commit52041da586456a938bf3289c0cda63c63a46173c
tree366f8f9dd92b2c2d8415529bf38017f95c045507
parentd57cac7196b8644a0812f70cbecb1066d8e1e91d
LP#1703411 XMPP opensrf sub-element repairs

* Message template typo repair -- missing "'"
* XPath repair on path to opensrf sub-element for Perl
* Move 'type' attribute get/set back up to the <message> for Perl.
* Clean up code duplication in the C message building libs.
* Squash a centuries-old memory leak where xmlFree(sender) was only
  called if a router_from was not supplied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
src/libopensrf/transport_message.c
src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPMessage.pm
src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm