Changeset 229 for tools/SkyQualityMonitor
- Timestamp:
- 06/24/10 07:51:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/SkyQualityMonitor/sqm.cpp
r217 r229 34 34 // Start server and request configuration data 35 35 EvidenceServer Srv(SERVER_NAME); 36 c har *Address = Srv.GetConfig("address");37 unsigned int Port = atoi(Srv.GetConfig("port") );36 const char *Address = Srv.GetConfig("address").c_str(); 37 unsigned int Port = atoi(Srv.GetConfig("port").c_str()); 38 38 39 39 // Open socket descriptor … … 69 69 while(!Srv.ExitRequest) { 70 70 // Request measurement period 71 Period = atoi(Srv.GetConfig("period") );71 Period = atoi(Srv.GetConfig("period").c_str()); 72 72 73 73 // Write read command to socket
Note:
See TracChangeset
for help on using the changeset viewer.