PROTON-1020: fix typos in error messages
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/95eece73 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/95eece73 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/95eece73 Branch: refs/heads/go1 Commit: 95eece73007dbb18c8920735a0a00c4b621093d7 Parents: c9158ed Author: Clifford Jansen <[email protected]> Authored: Mon Dec 14 08:35:50 2015 -0800 Committer: Clifford Jansen <[email protected]> Committed: Mon Dec 14 08:35:50 2015 -0800 ---------------------------------------------------------------------- proton-c/bindings/cpp/src/messaging_event.cpp | 2 +- proton-c/bindings/cpp/src/proton_bits.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/95eece73/proton-c/bindings/cpp/src/messaging_event.cpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/src/messaging_event.cpp b/proton-c/bindings/cpp/src/messaging_event.cpp index d0ae0f8..eabacaf 100644 --- a/proton-c/bindings/cpp/src/messaging_event.cpp +++ b/proton-c/bindings/cpp/src/messaging_event.cpp @@ -139,7 +139,7 @@ void messaging_event::dispatch(handler &h) { case messaging_event::TRANSPORT_CLOSED: handler->on_transport_closed(*this); break; default: - throw error(MSG("Unkown messaging event type " << type_)); + throw error(MSG("Unknown messaging event type " << type_)); break; } } else { http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/95eece73/proton-c/bindings/cpp/src/proton_bits.cpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/src/proton_bits.cpp b/proton-c/bindings/cpp/src/proton_bits.cpp index 3b522bf..269b7d6 100644 --- a/proton-c/bindings/cpp/src/proton_bits.cpp +++ b/proton-c/bindings/cpp/src/proton_bits.cpp @@ -32,7 +32,7 @@ std::string error_str(int code) { case PN_OVERFLOW: return "overflow"; case PN_UNDERFLOW: return "underflow"; case PN_STATE_ERR: return "invalid state"; - case PN_ARG_ERR: return "invalud argument"; + case PN_ARG_ERR: return "invalid argument"; case PN_TIMEOUT: return "timeout"; case PN_INTR: return "interrupt"; default: return "unknown error code"; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
