[ https://issues.apache.org/jira/browse/PROTON-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120482#comment-16120482 ]
ASF subversion and git services commented on PROTON-785: -------------------------------------------------------- Commit 4d25d88f5c96165c7c6aa24c28d214ad599caff8 in qpid-proton's branch refs/heads/master from [~jr...@redhat.com] [ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=4d25d88 ] PROTON-785: Add missing error code > 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: proton-c-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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org