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?"); perror("shit?");
disconnect_from_host(); disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n"); ERR_PRINT("Server disconnected!\n");
return FAILED; return FAILED;
}; };
@ -275,7 +275,7 @@ Error StreamPeerTCPPosix::read(uint8_t* p_buffer, int p_bytes,int &r_received, b
perror("shit?"); perror("shit?");
disconnect_from_host(); disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n"); ERR_PRINT("Server disconnected!\n");
return FAILED; 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?"); perror("shit?");
disconnect_from_host(); disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n"); ERR_PRINT("Server disconnected!\n");
return FAILED; return FAILED;
}; };
@ -207,7 +207,7 @@ Error StreamPeerWinsock::read(uint8_t* p_buffer, int p_bytes,int &r_received, bo
perror("shit?"); perror("shit?");
disconnect_from_host(); disconnect_from_host();
ERR_PRINT("Server disconnect_from_hosted!\n"); ERR_PRINT("Server disconnected!\n");
return FAILED; return FAILED;
}; };

View file

@ -73,9 +73,9 @@ public:
virtual IP_Address get_connected_host() const; virtual IP_Address get_connected_host() const;
virtual uint16_t get_connected_port() 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 Status get_status() const;
virtual void disconnect(); virtual void disconnect_from_host();
static void make_default(); static void make_default();
static void cleanup(); static void cleanup();