whoops, virtual function changed signature
This commit is contained in:
parent
2db50240ac
commit
e8c032b84c
|
|
@ -997,7 +997,7 @@ handle_server_control_message(const PStatServerControlMessage &message) {
|
|||
// has been lost.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void PStatClient::
|
||||
connection_reset(const PT(Connection) &connection) {
|
||||
connection_reset(const PT(Connection) &connection, PRErrorCode) {
|
||||
if (connection == _tcp_connection) {
|
||||
disconnect();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -173,7 +173,8 @@ private:
|
|||
void report_new_threads();
|
||||
void handle_server_control_message(const PStatServerControlMessage &message);
|
||||
|
||||
virtual void connection_reset(const PT(Connection) &connection);
|
||||
virtual void connection_reset(const PT(Connection) &connection,
|
||||
PRErrorCode errcode);
|
||||
|
||||
bool _is_connected;
|
||||
bool _got_udp_port;
|
||||
|
|
|
|||
Loading…
Reference in New Issue