diff options
author | Zeev Suraski <zeev@php.net> | 2000-04-05 18:06:13 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-04-05 18:06:13 +0000 |
commit | 7c70003d2202a2ca6fce8c222f2b827de028254d (patch) | |
tree | 012b2e6fbd328d06b2404359e5bd38a521533bd9 /sapi/isapi/php4isapi.c | |
parent | 8372b2baf194ce252783812a2b84f58dd945bb24 (diff) | |
download | php-git-7c70003d2202a2ca6fce8c222f2b827de028254d.tar.gz |
The ISAPI module was incompatible with the CGI fix, which ruined POST's
Diffstat (limited to 'sapi/isapi/php4isapi.c')
-rw-r--r-- | sapi/isapi/php4isapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 2fa11239d6..3597a18e2e 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -257,7 +257,7 @@ static int sapi_isapi_read_post(char *buffer, uint count_bytes SLS_DC) DWORD read_from_input=0; DWORD total_read=0; - if (SG(read_post_bytes) < lpECB->cbAvailable) { + if ((DWORD) SG(read_post_bytes) < lpECB->cbAvailable) { read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); memcpy(buffer, lpECB->lpbData+SG(read_post_bytes), read_from_buf); total_read += read_from_buf; @@ -276,7 +276,6 @@ static int sapi_isapi_read_post(char *buffer, uint count_bytes SLS_DC) } total_read += cbRead; } - SG(read_post_bytes) += total_read; return total_read; } |