Browse Source

Merge pull request #873 from majestrate/fix-addressbook

try fixing issue #871
pull/875/head
Jeff 8 years ago committed by GitHub
parent
commit
63e25f0ff9
  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