/[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.11 by chopp, Thu Jun 10 09:57:00 2004 UTC revision 1.12 by hauk, Sun Dec 12 23:45:09 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    chomp(buf,STRLEN);    Util_chomp(buf,STRLEN);
93    
94    /* RATS: ignore */ /* chomp does zero termination */    /* RATS: ignore */ /* Util_chomp does zero termination */
95    n= sscanf(buf, "%s %d", proto, &status);    n= sscanf(buf, "%s %d", proto, &status);
96    if(n!=2 || (status >= 400)) {    if(n!=2 || (status >= 400)) {
97      log("DWP error: %s\n", buf);      log("DWP error: %s\n", buf);

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

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