Browse Source

allocate actual RouterInfo's buffer size

pull/1359/head
orignal 6 years ago
parent
commit
78bfde237f
  1. 1
      libi2pd/RouterInfo.cpp

1
libi2pd/RouterInfo.cpp

@ -30,7 +30,6 @@ namespace data @@ -30,7 +30,6 @@ namespace data
m_SupportedTransports (0), m_Caps (0)
{
m_Addresses = boost::make_shared<Addresses>(); // create empty list
m_Buffer = new uint8_t[MAX_RI_BUFFER_SIZE];
ReadFromFile ();
}

Loading…
Cancel
Save