Re: pn_message_load with nil data

2012-09-07 Thread Rafael Schloming
This should work now with the possibly slightly unintuitive caveat that when you load None/null/nil into a text message and then save it, you get back an empty string. --Rafael On Wed, Sep 5, 2012 at 8:02 AM, Darryl L. Pierce wrote: > Should attempting to load a message with nil data raise an e

pn_message_load with nil data

2012-09-05 Thread Darryl L. Pierce
Should attempting to load a message with nil data raise an exception or result in an empty string as the message data? The message format is TEXT, and currently what I see is the content of the message contains random data. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering val