mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00: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…
x
Reference in New Issue
Block a user