mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
use write
This commit is contained in:
parent
cdc5fce583
commit
48cc0f4289
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue