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

Diff of /monit/protocols/http.c

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

revision 1.26 by hauk, Thu Oct 16 01:12:18 2003 UTC revision 1.27 by hauk, Thu Oct 16 01:47:31 2003 UTC
# Line 234  static int check_request_checksum(Socket Line 234  static int check_request_checksum(Socket
234          r+= snprintf(r, STRLEN-(r-result) ,"%02x", md5[i]);          r+= snprintf(r, STRLEN-(r-result) ,"%02x", md5[i]);
235            
236      if(strncasecmp(result, checksum, 32) != 0) {      if(strncasecmp(result, checksum, 32) != 0) {
237        log("HTTP warning: checksum mismatch\n");        DEBUG("HTTP warning: Document checksum mismatch\n");
238        return FALSE;        return FALSE;
239        } else {
240          DEBUG("HTTP: Succeeded testing document checksum\n");
241      }      }
242            
243    }    }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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