mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
use write
This commit is contained in:
parent
cdc5fce583
commit
48cc0f4289
@ -212,7 +212,7 @@ namespace client
|
||||
ss << ".b32.i2p:";
|
||||
ss << std::to_string(fromPort);
|
||||
ss << "\n";
|
||||
ss << std::string((char *)buf, len);
|
||||
ss.write((char *)buf, len);
|
||||
conn->send(ss.str());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user