Show
Ignore:
Timestamp:
11/14/06 15:56:58 (2 years ago)
Author:
patrick
Message:

Replaced uses of vpr::ReturnStatus? with bool. Bumped Gadgeteer version
to 1.1.18.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/gadgeteer/gadget/Connector.cpp

    r18824 r19521  
    3030 
    3131#include <vpr/IO/Socket/SocketStream.h> 
    32 #include <vpr/Util/ReturnStatus.h> 
    3332 
    3433#include <cluster/Packets/Packet.h> 
     
    3837{ 
    3938 
    40 vpr::ReturnStatus Connector::attemptConnect( Node* node
     39bool Connector::attemptConnect(Node* node
    4140{ 
    4241   // - Try to connect to remote host 
     
    7473         << clrOutBOLD( clrRED, " ERROR:" ) 
    7574         << " Failed to set address" << std::endl << vprDEBUG_FLUSH; 
    76       return vpr::ReturnStatus::Fail
     75      return false
    7776   } 
    7877 
     
    103102         << std::endl << vprDEBUG_FLUSH; 
    104103          
    105       return vpr::ReturnStatus::Fail
     104      return false
    106105   } 
    107106 
     
    159158         node->setSockStream( NULL ); 
    160159         delete sock_stream;  
    161          return vpr::ReturnStatus::Fail
     160         return false
    162161      } 
    163162   } 
     
    174173         << std::endl << vprDEBUG_FLUSH; 
    175174          
    176       return vpr::ReturnStatus::Fail
     175      return false
    177176   } 
    178177    
    179    return vpr::ReturnStatus::Succeed
     178   return true
    180179} 
    181180