projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
9ae4a76
)
- substract 10% instead of 50%, as already documented
author
Michael Wallner
<mike@php.net>
Fri, 7 Oct 2005 18:52:55 +0000
(18:52 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 7 Oct 2005 18:52:55 +0000
(18:52 +0000)
http_headers_api.c
patch
|
blob
|
history
diff --git
a/http_headers_api.c
b/http_headers_api.c
index b7295ef59b65ca1d0c8c919c9f9507f22f384b1c..2af2da0d71258cd0387ca7d78601fe642a419a96 100644
(file)
--- 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);
}
}