mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
try fixing issue #871
This commit is contained in:
@@ -367,7 +367,7 @@ namespace client
|
|||||||
|
|
||||||
size_t pos = s.find('#');
|
size_t pos = s.find('#');
|
||||||
if (pos != std::string::npos)
|
if (pos != std::string::npos)
|
||||||
std::string addr = addr.substr(pos); // remove comments
|
addr = addr.substr(pos); // remove comments
|
||||||
|
|
||||||
auto ident = std::make_shared<i2p::data::IdentityEx> ();
|
auto ident = std::make_shared<i2p::data::IdentityEx> ();
|
||||||
if (!ident->FromBase64(addr)) {
|
if (!ident->FromBase64(addr)) {
|
||||||
@@ -872,4 +872,3 @@ namespace client
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user