mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
remove static from i2p::util::url
This commit is contained in:
parent
eed04265bb
commit
7defa34d88
2 changed files with 9 additions and 9 deletions
10
util.cpp
10
util.cpp
|
@ -249,13 +249,13 @@ 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)
|
||||||
{
|
{
|
||||||
|
portstr_ = "80";
|
||||||
|
port_ = 80;
|
||||||
|
user_ = "";
|
||||||
|
pass_ = "";
|
||||||
|
|
||||||
parse(url_s);
|
parse(url_s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
8
util.h
8
util.h
|
@ -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_;
|
||||||
static std::string portstr_;
|
std::string portstr_;
|
||||||
static unsigned int port_;
|
unsigned int port_;
|
||||||
static std::string user_;
|
std::string user_;
|
||||||
static std::string pass_;
|
std::string pass_;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue