diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2011-12-10 17:59:51 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2011-12-10 17:59:51 +0200 |
commit | 1ecb59ec27137a039a73289a3ded1f8dedcdab88 (patch) | |
tree | 20fddd3fd3e5cfe9e1bc70078c29bfe6c643ca51 | |
parent | 0b0c959dbab7ac923c904102ae6b2fcedab074a1 (diff) |
typo fix
-rwxr-xr-x | server/server/config.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/server/config.cpp b/server/server/config.cpp index 7e46bdc..188c04b 100755 --- a/server/server/config.cpp +++ b/server/server/config.cpp @@ -211,7 +211,7 @@ void config::load_proxy_list(char *pth) int port = 0; if(line.find('@') != std::string::npos) { - lp2 = line.find("//:", lp1); + lp2 = line.find("://", lp1); std::string s_type = line.substr(lp1, lp2-lp1); if(s_type == "http") type = HTTP; @@ -245,7 +245,7 @@ void config::load_proxy_list(char *pth) } else { - lp2 = line.find("//:", lp1); + lp2 = line.find("://", lp1); std::string s_type = line.substr(lp1, lp2-lp1); if(s_type == "http") type = HTTP; @@ -306,7 +306,7 @@ void config::load_static_proxy_list(char *pth) int port = 0, position = 0; if(line.find('@') != std::string::npos) { - lp2 = line.find("//:", lp1); + lp2 = line.find("://", lp1); std::string s_type = line.substr(lp1, lp2-lp1); if(s_type == "http") type = HTTP; @@ -336,7 +336,7 @@ void config::load_static_proxy_list(char *pth) } else { - lp2 = line.find("//:", lp1); + lp2 = line.find("://", lp1); std::string s_type = line.substr(lp1, lp2-lp1); if(s_type == "http") type = HTTP; |