]> granicus.if.org Git - php/commitdiff
Correct bug in headers only logic.
authorSam Ruby <rubys@php.net>
Thu, 10 Aug 2000 06:09:05 +0000 (06:09 +0000)
committerSam Ruby <rubys@php.net>
Thu, 10 Aug 2000 06:09:05 +0000 (06:09 +0000)
sapi/servlet/servlet.c

index 2661d8fabed36ed9bcc559771c1310d8ce865a2a..197b94d1271b37c07774105cf19b62b5bad40b8d 100644 (file)
@@ -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;