From d35893417bb588a48fe02f9d9d2cde449241d8c2 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 17 May 2001 00:16:42 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/pstatclient/pStatClient.I | 8 ++++---- panda/src/pstatclient/pStatClient.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/panda/src/pstatclient/pStatClient.I b/panda/src/pstatclient/pStatClient.I index 48791c177e..5f3898165b 100644 --- a/panda/src/pstatclient/pStatClient.I +++ b/panda/src/pstatclient/pStatClient.I @@ -66,8 +66,8 @@ get_max_rate() const { // failure. //////////////////////////////////////////////////////////////////// INLINE bool PStatClient:: -connect(string hostname, int port) { - return get_global_pstats()->connect(hostname, port); +connect(const string &hostname, int port) { + return get_global_pstats()->ns_connect(hostname, port); } //////////////////////////////////////////////////////////////////// @@ -77,7 +77,7 @@ connect(string hostname, int port) { //////////////////////////////////////////////////////////////////// INLINE void PStatClient:: disconnect() { - get_global_pstats()->disconnect(); + get_global_pstats()->ns_disconnect(); } //////////////////////////////////////////////////////////////////// @@ -88,5 +88,5 @@ disconnect() { //////////////////////////////////////////////////////////////////// INLINE bool PStatClient:: is_connected() { - return get_global_pstats()->is_connected(); + return get_global_pstats()->ns_is_connected(); } diff --git a/panda/src/pstatclient/pStatClient.h b/panda/src/pstatclient/pStatClient.h index 3b0ac4bc32..7f0cf3433e 100644 --- a/panda/src/pstatclient/pStatClient.h +++ b/panda/src/pstatclient/pStatClient.h @@ -63,7 +63,7 @@ public: static PStatClient *get_global_pstats(); PUBLISHED: - INLINE static bool connect(string hostname = string(), int port = -1); + INLINE static bool connect(const string &hostname = string(), int port = -1); INLINE static void disconnect(); INLINE static bool is_connected();