From 1ecb59ec27137a039a73289a3ded1f8dedcdab88 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 10 Dec 2011 17:59:51 +0200 Subject: typo fix --- server/server/config.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server') 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; -- cgit v1.2.3