summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSam Ruby <rubys@php.net>2000-08-10 06:09:05 +0000
committerSam Ruby <rubys@php.net>2000-08-10 06:09:05 +0000
commit5c8fca17576a0e4ea49e586a3640665af8afc8a6 (patch)
treef1074682b942c8a961de97675a6b1ad5535fdf06 /sapi
parent5e8db7f4959e670d82f99736cd83e3be522d6bc6 (diff)
downloadphp-git-5c8fca17576a0e4ea49e586a3640665af8afc8a6.tar.gz
Correct bug in headers only logic.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/servlet/servlet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c
index 2661d8fabe..197b94d127 100644
--- a/sapi/servlet/servlet.c
+++ b/sapi/servlet/servlet.c
@@ -360,7 +360,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send
if (!strcmp(SG(request_info).request_method, "HEAD")) {
SG(request_info).headers_only = 1;
} else {
- SG(request_info).headers_only = 1;
+ SG(request_info).headers_only = 0;
}
SG(request_info).content_length = contentLength;
SG(request_info).auth_password = NULL;