Changeset 193

Show
Ignore:
Timestamp:
03/23/09 10:52:02 (15 years ago)
Author:
bhilburn
Message:

Minor change to make things more consistent.

Location:
vtcross/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/components.h

    r192 r193  
    119119         
    120120        /* Listen for other components registering their available services with 
    121          * the SML. */ 
     121         * the SML.  
     122         */ 
    122123        void ReceiveServices(); 
    123124 
     
    160161         * connects it to either the shell or an SML, depening on the SML bool. 
    161162         */ 
    162         PolicyEngine(const char* serverName, const char* portNumber, \ 
     163        PolicyEngine(const char* serverName, const char* serverPort, \ 
    163164                const bool SML); 
    164165 
  • vtcross/trunk/src/policy_engines/PolicyEngine.cpp

    r192 r193  
    3434 
    3535 
    36 PolicyEngine::PolicyEngine(const char* serverName, const char* portNumber, \ 
     36PolicyEngine::PolicyEngine(const char* serverName, const char* serverPort, \ 
    3737        const bool SML) 
    3838{ 
     
    4141    SML_present = SML; 
    4242 
    43     commandSocketFD = ClientSocket(serverName, portNumber); 
     43    commandSocketFD = ClientSocket(serverName, serverPort); 
    4444 
    4545    if(SML_present) {