You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2017/08/21 17:18:28 UTC
[2/2] qpid-cpp git commit: NO-JIRA: add hostname to debug log
statement for sasl-init
NO-JIRA: add hostname to debug log statement for sasl-init
Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/fd4e8319
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/fd4e8319
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/fd4e8319
Branch: refs/heads/master
Commit: fd4e8319e230d35b7abcf670404778c844d0a053
Parents: 76a6d71
Author: Gordon Sim <gs...@redhat.com>
Authored: Mon Aug 21 16:28:39 2017 +0100
Committer: Gordon Sim <gs...@redhat.com>
Committed: Mon Aug 21 16:29:09 2017 +0100
----------------------------------------------------------------------
src/qpid/broker/amqp/Sasl.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/fd4e8319/src/qpid/broker/amqp/Sasl.cpp
----------------------------------------------------------------------
diff --git a/src/qpid/broker/amqp/Sasl.cpp b/src/qpid/broker/amqp/Sasl.cpp
index 890de40..1961368 100644
--- a/src/qpid/broker/amqp/Sasl.cpp
+++ b/src/qpid/broker/amqp/Sasl.cpp
@@ -123,9 +123,9 @@ namespace {
const std::string EMPTY;
}
-void Sasl::init(const std::string& mechanism, const std::string* response, const std::string* /*hostname*/)
+void Sasl::init(const std::string& mechanism, const std::string* response, const std::string* hostname)
{
- QPID_LOG_CAT(debug, protocol, id << " Received SASL-INIT(" << mechanism << ", " << (response ? *response : EMPTY) << ")");
+ QPID_LOG_CAT(debug, protocol, id << " Received SASL-INIT(" << mechanism << ", " << (response ? *response : EMPTY) << ", " << (hostname ? *hostname : EMPTY)<< ")");
//TODO: what should we do with hostname here?
std::string c;
respond(authenticator->start(mechanism, response, c), c);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org