blob: f3c2fd08da0fbf3c20869d817a2504911ef7265d (
plain)
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
|
--- SSLConnectionManager.cpp.orig 2014-09-01 23:09:35.916376510 +0200
+++ SSLConnectionManager.cpp 2014-09-01 23:10:32.492515988 +0200
@@ -95,13 +95,13 @@
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errorStr = errorStream.str();
+ Logger::logError(errorStr);
} catch (FirefoxUpdateException &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errorStr = errorStream.str();
+ Logger::logError(errorStr);
}
}
@@ -120,13 +120,13 @@
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errorStr = errorStream.str();
+ Logger::logError(errorStr);
} catch (FirefoxUpdateException &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
- Logger::logError(error);
+ std::string errorStr = errorStream.str();
+ Logger::logError(errorStr);
}
}
@@ -151,9 +151,9 @@
} catch (SSLConnectionError &error) {
std::stringstream errorStream;
errorStream << "Got exception: " << error.what();
- std::string error = errorStream.str();
+ std::string errorStr = errorStream.str();
- Logger::logError(error);
+ Logger::logError(errorStr);
}
}
}
|