You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cl...@apache.org on 2015/12/14 17:36:39 UTC
qpid-proton git commit: PROTON-1020: fix typos in error messages
Repository: qpid-proton
Updated Branches:
refs/heads/master c9158ed3a -> 95eece730
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/master
Commit: 95eece73007dbb18c8920735a0a00c4b621093d7
Parents: c9158ed
Author: Clifford Jansen <cl...@apache.org>
Authored: Mon Dec 14 08:35:50 2015 -0800
Committer: Clifford Jansen <cl...@apache.org>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org