Ignore:
Timestamp:
03/12/10 08:55:45 (15 years ago)
Author:
ogrimm
Message:
Updated config request
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/SkyQualityMonitor/sqm.cpp

    r163 r179  
    3434  // Start server and request configuration data
    3535  EvidenceServer Srv(SERVER_NAME);
    36   char *Address = Srv.GetConfig(SERVER_NAME " address");
    37   unsigned int Port = atoi(Srv.GetConfig(SERVER_NAME " port"));
     36  char *Address = Srv.GetConfig("address");
     37  unsigned int Port = atoi(Srv.GetConfig("port"));
    3838   
    3939  // Open socket descriptor
     
    6969  while(!Srv.ExitRequest) {
    7070        // Request measurement period 
    71     Period = atoi(Srv.GetConfig(SERVER_NAME " period"));
     71    Period = atoi(Srv.GetConfig("period"));
    7272
    7373    // Write read command to socket
Note: See TracChangeset for help on using the changeset viewer.