Browse Source

tabify

pull/1169/head
Jeff Becker 7 years ago
parent
commit
0ced38cdcb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 4
      libi2pd/Streaming.h
  2. 2
      libi2pd_client/SAM.h

4
libi2pd/Streaming.h

@ -165,9 +165,9 @@ namespace stream @@ -165,9 +165,9 @@ namespace stream
void AsyncReceive (const Buffer& buffer, ReceiveHandler handler, int timeout = 0);
size_t ReadSome (uint8_t * buf, size_t len) { return ConcatenatePackets (buf, len); };
void AsyncClose() { m_Service.post(std::bind(&Stream::Close, shared_from_this())); };
void AsyncClose() { m_Service.post(std::bind(&Stream::Close, shared_from_this())); };
/** only call close from destination thread, use Stream::AsyncClose for other threads */
/** only call close from destination thread, use Stream::AsyncClose for other threads */
void Close ();
void Cancel () { m_ReceiveTimer.cancel (); };

2
libi2pd_client/SAM.h

@ -77,7 +77,7 @@ namespace client @@ -77,7 +77,7 @@ namespace client
class SAMBridge;
struct SAMSession;
class SAMSocket :public std::enable_shared_from_this<SAMSocket>
class SAMSocket: public std::enable_shared_from_this<SAMSocket>
{
public:

Loading…
Cancel
Save