1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

fixed build error

This commit is contained in:
orignal 2014-04-06 16:42:29 -04:00
parent 1e5677d1c3
commit 13a88c4e92
2 changed files with 9 additions and 4 deletions

View File

@ -249,6 +249,11 @@ namespace http
} }
} }
std::string url::portstr_ = "80";
unsigned int url::port_ = 80;
std::string url::user_ = "";
std::string url::pass_ = "";
url::url(const std::string& url_s) url::url(const std::string& url_s)
{ {
parse(url_s); parse(url_s);

8
util.h
View File

@ -41,10 +41,10 @@ namespace util
void parse(const std::string& url_s); void parse(const std::string& url_s);
public: public:
std::string protocol_, host_, path_, query_; std::string protocol_, host_, path_, query_;
std::string portstr_ = "80"; static std::string portstr_;
unsigned int port_ = 80; static unsigned int port_;
std::string user_ = ""; static std::string user_;
std::string pass_ = ""; static std::string pass_;
}; };
} }
} }