diff --git a/HTTP.cpp b/HTTP.cpp index 1a79502c..451c099f 100644 --- a/HTTP.cpp +++ b/HTTP.cpp @@ -75,7 +75,7 @@ namespace http { /* specical case */ pos_p ++; } - if(url.at(0) != "/" || pos_b > 0) { + if(url.at(0) != "/" || pos_p > 0) { /* schema */ pos_c = url.find("://"); if (pos_c != std::string::npos) {