From 999001733dbb3755c0bc3c2f9736f00eb66adbd7 Mon Sep 17 00:00:00 2001 From: EinMByte Date: Sun, 2 Aug 2015 20:42:01 +0200 Subject: [PATCH] Fix I2PControl invalid password error message. --- i2pcontrol/I2PControl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i2pcontrol/I2PControl.cpp b/i2pcontrol/I2PControl.cpp index 656560de..f44709a7 100644 --- a/i2pcontrol/I2PControl.cpp +++ b/i2pcontrol/I2PControl.cpp @@ -214,10 +214,10 @@ void I2PControlSession::handleAuthenticate(const PropertyTree& pt, Response& res { const int api = pt.get(I2P_CONTROL_PARAM_API); const std::string given_pass = pt.get(I2P_CONTROL_PARAM_PASSWORD); - LogPrint(eLogDebug, "I2PControl Authenticate API = ", api, " Password = ", password); + LogPrint(eLogDebug, "I2PControl Authenticate API = ", api, " Password = ", given_pass); if(given_pass != password) { LogPrint( - eLogError, "I2PControl Authenticate Invalid password ", password, + eLogError, "I2PControl Authenticate Invalid password ", given_pass, " expected ", password ); response.setError(ErrorCode::InvalidPassword);