search/replace gone wrong.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83859
13f79535-47bb-0310-9956-
ffa450edef68
sum = 0;
p = header->charptr;
- for (i = sizeof(union record); - ap_context_t >= 0;) {
+ for (i = sizeof(union record); --i >= 0;) {
/*
* We can't use unsigned char here because of old compilers, e.g. V7.
*/
}
/* Adjust checksum to count the "chksum" field as blanks. */
- for (i = sizeof(header->header.chksum); - ap_context_t >= 0;)
+ for (i = sizeof(header->header.chksum); --i >= 0;)
sum -= 0xFF & header->header.chksum[i];
sum += ' ' * sizeof header->header.chksum;
return 0;
/* Strip trailing dots */
- for (i = strlen(addr) - 1; i > 0 && addr[i] == '.'; - ap_context_t )
+ for (i = strlen(addr) - 1; i > 0 && addr[i] == '.'; --i)
addr[i] = '\0';
This->matcher = proxy_match_domainname;
This->hostentry = ap_pduphostent (p, &host);
/* Strip trailing dots */
- for (i = strlen(addr) - 1; i > 0 && addr[i] == '.'; - ap_context_t )
+ for (i = strlen(addr) - 1; i > 0 && addr[i] == '.'; --i)
addr[i] = '\0';
This->matcher = proxy_match_hostname;