1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
From: Debian Security Tools Packaging Team
<pkg-security-team@lists.alioth.debian.org>
Date: Tue, 22 Nov 2016 16:06:02 +0100
Subject: fix-compatibility-with-gcc49
---
SSLConnectionManager.cpp | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/SSLConnectionManager.cpp b/SSLConnectionManager.cpp
index c0a6805..9beed10 100644
--- a/SSLConnectionManager.cpp
+++ b/SSLConnectionManager.cpp
@@ -95,13 +95,13 @@ void SSLConnectionManager::interceptUpdate(boost::shared_ptr<ip::tcp::socket> cl
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errortext = errorStream.str();
+ Logger::logError(errortext);
} catch (FirefoxUpdateException &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errortext = errorStream.str();
+ Logger::logError(errortext);
}
}
@@ -120,13 +120,13 @@ void SSLConnectionManager::interceptAddon(boost::shared_ptr<ip::tcp::socket> cli
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errortext = errorStream.str();
+ Logger::logError(errortext);
} catch (FirefoxUpdateException &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errortext = errorStream.str();
+ Logger::logError(errortext);
}
}
@@ -151,9 +151,9 @@ void SSLConnectionManager::interceptSSL(boost::shared_ptr<ip::tcp::socket> clien
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
+ std::string errortext = errorStream.str();
- Logger::logError(error);
+ Logger::logError(errortext);
}
}
}
|