cvs: /php4/sapi/isapi php4isapi.c

From: Date: Wed, 05 Apr 2000 18:06:43 +0000
Subject: cvs: /php4/sapi/isapi php4isapi.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13173@lists.php.net to get a copy of this message
zeev Wed Apr 5 11:06:43 2000 EDT Modified files: /php4/sapi/isapi php4isapi.c Log: The ISAPI module was incompatible with the CGI fix, which ruined POST's Index: php4/sapi/isapi/php4isapi.c diff -u php4/sapi/isapi/php4isapi.c:1.34 php4/sapi/isapi/php4isapi.c:1.35 --- php4/sapi/isapi/php4isapi.c:1.34 Thu Mar 30 14:56:33 2000 +++ php4/sapi/isapi/php4isapi.c Wed Apr 5 11:06:13 2000 @@ -257,7 +257,7 @@ 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 @@ } total_read += cbRead; } - SG(read_post_bytes) += total_read; return total_read; }

« previous php.version4 (#13173) next »