/[monit]/monit/protocols/dwp.c
ViewVC logotype

Diff of /monit/protocols/dwp.c

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

revision 1.12 by hauk, Sun Dec 12 23:45:09 2004 UTC revision 1.13 by hauk, Sun Dec 19 00:31:51 2004 UTC
# Line 89  int check_dwp(Socket_T s) { Line 89  int check_dwp(Socket_T s) {
89      return FALSE;      return FALSE;
90    }    }
91    
92    Util_chomp(buf,STRLEN);    Util_chomp(buf);
93    
   /* RATS: ignore */ /* Util_chomp does zero termination */  
94    n= sscanf(buf, "%s %d", proto, &status);    n= sscanf(buf, "%s %d", proto, &status);
95    if(n!=2 || (status >= 400)) {    if(n!=2 || (status >= 400)) {
96      log("DWP error: %s\n", buf);      log("DWP error: %s\n", buf);

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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