Changeset 154 for Evidence/Alarm.cc
- Timestamp:
- 01/29/10 14:27:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Evidence/Alarm.cc
r152 r154 112 112 strcmp(getInfo()->getString(), NO_LINK)==0) State[i] = 4; 113 113 else { 114 State[i] = *(getInfo()->getString()+getInfo()->getSize() );114 State[i] = *(getInfo()->getString()+getInfo()->getSize()-1); 115 115 116 printf("*** String length: %d Message length: %d Last number: %d\n",strlen(getInfo()->getString()),getInfo()->getSize(),State[i]); 116 117 // Print message 117 118 time_t RawTime = getInfo()->getTimestamp(); … … 156 157 157 158 // Check periodically if servers are up 158 while(! EvidenceServer::ExitRequest) {159 while(!Alarm.ExitRequest) { 159 160 for (int i=0; i<Alarm.NumServers; i++) { 160 161 Exists = false;
Note:
See TracChangeset
for help on using the changeset viewer.