Changeset 154 for Evidence/Alarm.cc


Ignore:
Timestamp:
01/29/10 14:27:34 (13 years ago)
Author:
ogrimm
Message:
Updates to status service
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Evidence/Alarm.cc

    r152 r154  
    112112                strcmp(getInfo()->getString(), NO_LINK)==0) State[i] = 4;
    113113        else {
    114           State[i] = *(getInfo()->getString()+getInfo()->getSize());
     114          State[i] = *(getInfo()->getString()+getInfo()->getSize()-1);
    115115
     116  printf("*** String length: %d  Message length: %d    Last number: %d\n",strlen(getInfo()->getString()),getInfo()->getSize(),State[i]);
    116117          // Print message
    117118          time_t RawTime = getInfo()->getTimestamp();
     
    156157
    157158  // Check periodically if servers are up
    158   while(!EvidenceServer::ExitRequest) {
     159  while(!Alarm.ExitRequest) {
    159160    for (int i=0; i<Alarm.NumServers; i++) {
    160161      Exists = false;
Note: See TracChangeset for help on using the changeset viewer.