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 with master
[m6w6/ext-http]
/
php_http_version.c
diff --git
a/php_http_version.c
b/php_http_version.c
index ffe62f188851373ebfd243704ff05d0ce2fe5209..45f7a30d9f03202073edf8805985856f0b01434e 100644
(file)
--- a/
php_http_version.c
+++ b/
php_http_version.c
@@
-6,7
+6,7
@@
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-201
1
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-201
3
, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
@@
-47,15
+47,6
@@
PHP_HTTP_API void php_http_version_to_string(php_http_version_t *v, char **str,
*len = spprintf(str, 0, "%s%u.%u%s", pre ? pre : "", v->major, v->minor, post ? post : "");
}
*len = spprintf(str, 0, "%s%u.%u%s", pre ? pre : "", v->major, v->minor, post ? post : "");
}
-PHP_HTTP_API void php_http_version_to_struct(php_http_version_t *v, HashTable *strct TSRMLS_DC)
-{
- zval tmp;
-
- INIT_PZVAL_ARRAY(&tmp, strct);
- add_assoc_long(&tmp, "major", v->major);
- add_assoc_long(&tmp, "minor", v->minor);
-}
-
PHP_HTTP_API void php_http_version_dtor(php_http_version_t *v)
{
(void) v;
PHP_HTTP_API void php_http_version_dtor(php_http_version_t *v)
{
(void) v;