From 9ba977318408ae1a35bdeee7062db1dfeae31510 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 7 Oct 2005 18:52:55 +0000 Subject: [PATCH] - substract 10% instead of 50%, as already documented --- http_headers_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_headers_api.c b/http_headers_api.c index b7295ef..2af2da0 100644 --- a/http_headers_api.c +++ b/http_headers_api.c @@ -93,7 +93,7 @@ char *_http_negotiate_language_func(const char *test, double *quality, HashTable if ( (!strncasecmp(Z_STRVAL_PP(value), test, len)) && ( (Z_STRVAL_PP(value)[len] == '\0') || (Z_STRVAL_PP(value)[len] == '-'))) { - *quality /= 2; + *quality *= .9; return Z_STRVAL_PP(value); } } -- 2.30.2