- better inline docs, part #2 and #3
[m6w6/ext-http] / http_cache_api.c
index d03ee85c2c17bae53da40b24e2edb9055f1be025..5eca48a6650576054b7b8a844e1da6a89b8c7bf2 100644 (file)
@@ -215,7 +215,7 @@ PHP_HTTP_API STATUS _http_cache_etag(const char *etag, size_t etag_len,
                return SUCCESS;
        }
 
-       if (HTTP_G(etag).started = (SUCCESS == php_start_ob_buffer_named("ob_etaghandler", HTTP_SENDBUF_SIZE, 1 TSRMLS_CC))) {
+       if (HTTP_G(etag).started = (SUCCESS == php_start_ob_buffer_named("ob_etaghandler", HTTP_G(send).buffer_size, 1 TSRMLS_CC))) {
                return SUCCESS;
        } else {
                return FAILURE;