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

Diff of /monit/validate.c

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

revision 1.42 by hauk, Mon Jun 16 22:06:15 2003 UTC revision 1.43 by martinp, Sun Jun 22 18:02:31 2003 UTC
# Line 1104  static int check_device(Service_T t, Dev Line 1104  static int check_device(Service_T t, Dev
1104    
1105    switch(td->resource) {    switch(td->resource) {
1106    
1107    case RESOURCE_INODE:    case RESOURCE_ID_INODE:
1108    
1109      if(t->devinfo->f_files <= 0) {      if(t->devinfo->f_files <= 0) {
1110    
# Line 1155  static int check_device(Service_T t, Dev Line 1155  static int check_device(Service_T t, Dev
1155    
1156      return TRUE;      return TRUE;
1157    
1158    case RESOURCE_SPACE:    case RESOURCE_ID_SPACE:
1159    
1160        if(td->limit_percent >= 0) {        if(td->limit_percent >= 0) {
1161    

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

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