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)