Browse Source

use write

pull/1114/head
Jeff Becker 7 years ago
parent
commit
48cc0f4289
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd_client/WebSocks.cpp

2
libi2pd_client/WebSocks.cpp

@ -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…
Cancel
Save