StreamPeerWinsock: Fix changed declarations

Bug introduced in dcb95ec147.
This commit is contained in:
Rémi Verschelde 2017-01-14 16:23:01 +01:00
parent 7c4167de64
commit 479790a841
3 changed files with 6 additions and 6 deletions

View File

@ -218,7 +218,7 @@ Error StreamPeerTCPPosix::write(const uint8_t* p_data,int p_bytes, int &r_sent,
perror("shit?");
disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n");
ERR_PRINT("Server disconnected!\n");
return FAILED;
};
@ -275,7 +275,7 @@ Error StreamPeerTCPPosix::read(uint8_t* p_buffer, int p_bytes,int &r_received, b
perror("shit?");
disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n");
ERR_PRINT("Server disconnected!\n");
return FAILED;
};

View File

@ -150,7 +150,7 @@ Error StreamPeerWinsock::write(const uint8_t* p_data,int p_bytes, int &r_sent, b
perror("shit?");
disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n");
ERR_PRINT("Server disconnected!\n");
return FAILED;
};
@ -207,7 +207,7 @@ Error StreamPeerWinsock::read(uint8_t* p_buffer, int p_bytes,int &r_received, bo
perror("shit?");
disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n");
ERR_PRINT("Server disconnected!\n");
return FAILED;
};

View File

@ -73,9 +73,9 @@ public:
virtual IP_Address get_connected_host() const;
virtual uint16_t get_connected_port() const;
virtual bool is_connected() const;
virtual bool is_connected_to_host() const;
virtual Status get_status() const;
virtual void disconnect();
virtual void disconnect_from_host();
static void make_default();
static void cleanup();