From e8c032b84cc47893906b632fa763c2a8f393cb19 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 7 May 2003 01:28:03 +0000 Subject: [PATCH] whoops, virtual function changed signature --- panda/src/pstatclient/pStatClient.cxx | 2 +- panda/src/pstatclient/pStatClient.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/panda/src/pstatclient/pStatClient.cxx b/panda/src/pstatclient/pStatClient.cxx index 25970e5351..f2543933be 100644 --- a/panda/src/pstatclient/pStatClient.cxx +++ b/panda/src/pstatclient/pStatClient.cxx @@ -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 { diff --git a/panda/src/pstatclient/pStatClient.h b/panda/src/pstatclient/pStatClient.h index 5446272bc2..16c069d26d 100644 --- a/panda/src/pstatclient/pStatClient.h +++ b/panda/src/pstatclient/pStatClient.h @@ -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;