try fixing issue #871

This commit is contained in:
Jeff Becker 2017-05-22 10:34:29 -04:00
parent bd221d60d6
commit 840225b580

View file

@ -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
} }
} }