]> git.tdb.fi Git - libs/net.git/blobdiff - source/version.cpp
Style update: spaces around assignments
[libs/net.git] / source / version.cpp
index 2966fe8495ab04d6dbb0a03e6a859c2a27a5886d..76159bae8cde30d01473036671fe596dcfd909f9 100644 (file)
@@ -17,7 +17,7 @@ namespace Http {
 
 Version parse_version(const std::string &ver)
 {
-       if(RegMatch match=Regex("^HTTP/([0-9]+).([0-9]+)$").match(ver))
+       if(RegMatch match = Regex("^HTTP/([0-9]+).([0-9]+)$").match(ver))
                return lexical_cast<unsigned>(match[1].str)<<4 | lexical_cast<unsigned>(match[2].str);
        else
                throw InvalidParameterValue("Invalid HTTP version");