mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-13 00:07:39 +01:00
try fixing issue #871
This commit is contained in:
parent
bd221d60d6
commit
840225b580
1 changed files with 103 additions and 104 deletions
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue