Skip to content

Commit

Permalink
tabify
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Apr 25, 2018
1 parent b046c45 commit 0ced38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libi2pd/Streaming.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 (); };

Expand Down
2 changes: 1 addition & 1 deletion libi2pd_client/SAM.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 0ced38c

Please sign in to comment.