*** empty log message ***

This commit is contained in:
David Rose 2001-01-26 23:06:42 +00:00
parent 010ef75ebf
commit 5d430a39e9
2 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,7 @@ get_server_name() const {
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE bool VrpnClient:: INLINE bool VrpnClient::
is_valid() const { is_valid() const {
return _connection->doing_okay(); return (_connection->doing_okay() != 0);
} }
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
@ -36,7 +36,7 @@ is_valid() const {
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
INLINE bool VrpnClient:: INLINE bool VrpnClient::
is_connected() const { is_connected() const {
return _connection->connected(); return (_connection->connected() != 0);
} }

View File

@ -25,4 +25,8 @@
#include <vrpn_Button.h> #include <vrpn_Button.h>
#include <vrpn_Dial.h> #include <vrpn_Dial.h>
#ifdef sleep
#undef sleep
#endif
#endif #endif