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