[
https://issues.apache.org/jira/browse/PROTON-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross reassigned PROTON-785:
----------------------------------
Assignee: Justin Ross
> pn_code is missing one error code
> ---------------------------------
>
> Key: PROTON-785
> URL: https://issues.apache.org/jira/browse/PROTON-785
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.7, 0.8
> Environment: Linux
> Reporter: Andreas Welchlin
> Assignee: Justin Ross
> Priority: Trivial
> Fix For: 0.18.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In error.c there is one error code missing in function pn_code:
> const char *pn_code(int code)
> {
> switch (code)
> {
> case 0: return "<ok>";
> case PN_EOS: return "PN_EOS";
> case PN_ERR: return "PN_ERR";
> case PN_OVERFLOW: return "PN_OVERFLOW";
> case PN_UNDERFLOW: return "PN_UNDERFLOW";
> case PN_STATE_ERR: return "PN_STATE_ERR";
> case PN_ARG_ERR: return "PN_ARG_ERR";
> case PN_TIMEOUT: return "PN_TIMEOUT";
> case PN_INTR: return "PN_INTR";
> default: return "<unknown>";
> }
> }
> There should also be:
> case PN_INPROGRESS: return "PN_INPROGRESS";
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]