aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-05-31 04:14:56 +0000
committerlloyd <[email protected]>2007-05-31 04:14:56 +0000
commit305db323498adca6cc0d3c6272626e47742c0758 (patch)
tree28f4cd5cded10fdac0c17d56bec35de92442a298
parent09eb089712be0b0f2098c97cb76c427da1210ef5 (diff)
On an assignment or initialization split across lines, put the = at the end
of the line rather than the start.
-rw-r--r--src/eng_base.cpp4
-rw-r--r--src/x509cert.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/eng_base.cpp b/src/eng_base.cpp
index 2a2168c0b..a726fd762 100644
--- a/src/eng_base.cpp
+++ b/src/eng_base.cpp
@@ -45,8 +45,8 @@ class Algorithm_Cache_Impl : public Engine::Algorithm_Cache<T>
~Algorithm_Cache_Impl()
{
- typename std::map<std::string, T*>::iterator i
- = mappings.begin();
+ typename std::map<std::string, T*>::iterator i = mappings.begin();
+
while(i != mappings.end())
{
delete i->second;
diff --git a/src/x509cert.cpp b/src/x509cert.cpp
index fcd63949b..404e56f29 100644
--- a/src/x509cert.cpp
+++ b/src/x509cert.cpp
@@ -313,8 +313,8 @@ X509_DN create_dn(const Data_Store& info)
}
};
- std::multimap<std::string, std::string> names
- = info.search_with(DN_Matcher());
+ std::multimap<std::string, std::string> names =
+ info.search_with(DN_Matcher());
X509_DN dn;
@@ -349,8 +349,8 @@ AlternativeName create_alt_name(const Data_Store& info)
std::vector<std::string> matches;
};
- std::multimap<std::string, std::string> names
- = info.search_with(AltName_Matcher("RFC822/DNS/URI"));
+ std::multimap<std::string, std::string> names =
+ info.search_with(AltName_Matcher("RFC822/DNS/URI"));
AlternativeName alt_name;