/[monit]/monit/util.c
ViewVC logotype

Diff of /monit/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.73 by hauk, Thu Jul 31 00:32:52 2003 UTC revision 1.74 by martinp, Sun Aug 3 19:19:39 2003 UTC
# Line 495  void printservice(Service_T s) { Line 495  void printservice(Service_T s) {
495    Resource_T q;    Resource_T q;
496    Checksum_T c;    Checksum_T c;
497    Timestamp_T t;    Timestamp_T t;
498      Size_T sl;
499    Dependant_T d;    Dependant_T d;
500    
501    ASSERT(s);    ASSERT(s);
# Line 587  void printservice(Service_T s) { Line 588  void printservice(Service_T s) {
588      }      }
589            
590    }    }
591    
592      for(sl= s->sizelist; sl; sl= sl->next) {
593        
594        if(sl->test_changes) {
595          printf(" %-20s = if %s was changed then %s\n",
596                 "Size",
597                 s->path,
598                 actionnames[sl->action]);
599        } else {
600          printf(" %-20s = if %s %s %lu byte(s) then %s\n",
601                 "Size",
602                 s->path,
603                 operatornames[sl->operator],
604                 sl->size,
605                 actionnames[sl->action]);
606        }
607        
608      }
609    
610    for(dl= s->devicelist; dl; dl= dl->next) {    for(dl= s->devicelist; dl; dl= dl->next) {
611            

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26