You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/07/19 00:06:07 UTC
[jira] [Created] (PROTON-633) pn_data_clear() doesn't clear
embedded error.
Andrew Stitcher created PROTON-633:
--------------------------------------
Summary: pn_data_clear() doesn't clear embedded error.
Key: PROTON-633
URL: https://issues.apache.org/jira/browse/PROTON-633
Project: Qpid Proton
Issue Type: Bug
Reporter: Andrew Stitcher
Assignee: Rafael H. Schloming
Priority: Minor
Using pn_data_clear(data) to clear the contents of data doesn't reset the embedded error indicator.
It's not clear to me if this is the correct behaviour or not.
Is there a case for setting the error, resetting the data and then checking the error status?
I'd rather expect to clear the data and then set the error status.
--
This message was sent by Atlassian JIRA
(v6.2#6252)