X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_url.c;h=fd4ec2bf11db3f06cec4d0cc5080c24dcd3387d2;hb=a5bf469d59f8b88f00a8497599fd6388165af735;hp=58250234751bb2c15bd481313dc5df8856c0ba0d;hpb=dedad9f35cbeaee56e7cca145e378cc6548198e3;p=m6w6%2Fext-http diff --git a/php_http_url.c b/php_http_url.c index 5825023..fd4ec2b 100644 --- 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. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | + | Copyright (c) 2004-2011, Michael Wallner | +--------------------------------------------------------------------+ */ -/* $Id: http_url_api.c 292841 2009-12-31 08:48:57Z mike $ */ - #include "php_http.h" #include
@@ -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); } - if (SUCCESS != php_http_url_encode_hash_ex(hash, qstr, arg_sep_str, arg_sep_len, ZEND_STRS("="), NULL, 0 TSRMLS_CC)) { + if (SUCCESS != php_http_url_encode_hash_ex(hash, qstr, arg_sep_str, arg_sep_len, ZEND_STRL("="), NULL, 0 TSRMLS_CC)) { php_http_buffer_free(&qstr); return FAILURE; }