[ 
https://issues.apache.org/jira/browse/PROTON-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-633.
------------------------------------
    Fix Version/s: proton-c-0.40.0
                       (was: proton-c-future)
       Resolution: Fixed

> 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-0.40.0
>
>
> 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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to