projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- fix CRC retrieval
[m6w6/ext-http]
/
http_headers_api.c
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);
}
}