Skip to content

Commit

Permalink
Merge pull request PurpleI2P#170 from guanqun/fix-wrong-buffer-size
Browse files Browse the repository at this point in the history
setup the correct buffer size
  • Loading branch information
orignal committed Mar 30, 2015
2 parents f2078f6 + ab75509 commit 6ec5858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AddressBook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ namespace client
auto stream = i2p::client::context.GetSharedLocalDestination ()->CreateStream (leaseSet, u.port_);
stream->Send ((uint8_t *)request.str ().c_str (), request.str ().length ());

uint8_t buf[4095];
uint8_t buf[4096];
bool end = false;
while (!end)
{
Expand Down

0 comments on commit 6ec5858

Please sign in to comment.