[
https://issues.apache.org/jira/browse/PROTON-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross updated PROTON-633:
-------------------------------
Component/s: proton-c
> 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
> Components: proton-c
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Minor
> Fix For: proton-c-future
>
>
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]