Browse Source

try fixing issue #871

pull/873/head
Jeff Becker 8 years ago
parent
commit
840225b580
  1. 3
      libi2pd_client/AddressBook.cpp

3
libi2pd_client/AddressBook.cpp

@ -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…
Cancel
Save