1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Fix all of those annoying --i -> - ap_context_t problems caused by a

search/replace gone wrong.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83859 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
1999-08-31 21:54:52 +00:00
parent dd0ea1fe7d
commit c06820cee2
2 changed files with 4 additions and 4 deletions

View File

@@ -2235,7 +2235,7 @@ static int is_tar(unsigned char *buf, int nbytes)
sum = 0; sum = 0;
p = header->charptr; 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. * We can't use unsigned char here because of old compilers, e.g. V7.
*/ */
@@ -2243,7 +2243,7 @@ static int is_tar(unsigned char *buf, int nbytes)
} }
/* Adjust checksum to count the "chksum" field as blanks. */ /* 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 -= 0xFF & header->header.chksum[i];
sum += ' ' * sizeof header->header.chksum; sum += ' ' * sizeof header->header.chksum;

View File

@@ -1107,7 +1107,7 @@ int ap_proxy_is_domainname(struct dirconn_entry *This, ap_context_t *p)
return 0; return 0;
/* Strip trailing dots */ /* 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'; addr[i] = '\0';
This->matcher = proxy_match_domainname; This->matcher = proxy_match_domainname;
@@ -1162,7 +1162,7 @@ int ap_proxy_is_hostname(struct dirconn_entry *This, ap_context_t *p)
This->hostentry = ap_pduphostent (p, &host); This->hostentry = ap_pduphostent (p, &host);
/* Strip trailing dots */ /* 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'; addr[i] = '\0';
This->matcher = proxy_match_hostname; This->matcher = proxy_match_hostname;