projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
new params parser
[m6w6/ext-http]
/
php_http_url.c
diff --git
a/php_http_url.c
b/php_http_url.c
index 58250234751bb2c15bd481313dc5df8856c0ba0d..fd4ec2bf11db3f06cec4d0cc5080c24dcd3387d2 100644
(file)
--- a/
php_http_url.c
+++ b/
php_http_url.c
@@
-6,12
+6,10
@@
| 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
0
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-201
1
, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
-/* $Id: http_url_api.c 292841 2009-12-31 08:48:57Z mike $ */
-
#include "php_http.h"
#include <main/SAPI.h>
#include "php_http.h"
#include <main/SAPI.h>
@@
-337,7
+335,7
@@
PHP_HTTP_API STATUS php_http_url_encode_hash(HashTable *hash, const char *pre_en
php_http_buffer_append(qstr, pre_encoded_str, pre_encoded_len);
}
php_http_buffer_append(qstr, pre_encoded_str, pre_encoded_len);
}
- if (SUCCESS != php_http_url_encode_hash_ex(hash, qstr, arg_sep_str, arg_sep_len, ZEND_STR
S
("="), NULL, 0 TSRMLS_CC)) {
+ if (SUCCESS != php_http_url_encode_hash_ex(hash, qstr, arg_sep_str, arg_sep_len, ZEND_STR
L
("="), NULL, 0 TSRMLS_CC)) {
php_http_buffer_free(&qstr);
return FAILURE;
}
php_http_buffer_free(&qstr);
return FAILURE;
}