projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_5_6'.
[m6w6/ext-http]
/
http_headers_api.c
diff --git
a/http_headers_api.c
b/http_headers_api.c
index 87af7586e114887ad29c89b7ba968c03e313cf66..dbbf999040157b17fef8152baedd7f38ea77c0b1 100644
(file)
--- a/
http_headers_api.c
+++ b/
http_headers_api.c
@@
-156,7
+156,7
@@
PHP_HTTP_API HashTable *_http_negotiate_q(const char *header, HashTable *support
while (*++ptr && !HTTP_IS_CTYPE(digit, *ptr) && '.' != *ptr);
- quality =
atof(ptr
);
+ quality =
zend_strtod(ptr, NULL
);
identifier = estrndup(Z_STRVAL_PP(entry), ident_len = separator - Z_STRVAL_PP(entry));
} else {
quality = 1000.0 - i++;