X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_url_api.c;h=2cde7bc71364938f94b4d73e06f25a3e97d137ec;hb=e83a7438dc70ed96630887246a1d3aefcf155b1c;hp=10a9095449bb96b592800dbe82444200b11835db;hpb=0d925a2820b9d75b8e32c451fd400863e51e22fe;p=m6w6%2Fext-http diff --git a/http_url_api.c b/http_url_api.c index 10a9095..2cde7bc 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -1,16 +1,13 @@ /* - +----------------------------------------------------------------------+ - | PECL :: http | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the PHP license, that | - | is bundled with this package in the file LICENSE, and is available | - | through the world-wide-web at http://www.php.net/license/3_0.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Copyright (c) 2004-2005 Michael Wallner | - +----------------------------------------------------------------------+ + +--------------------------------------------------------------------+ + | PECL :: http | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2004-2005, Michael Wallner | + +--------------------------------------------------------------------+ */ /* $Id$ */ @@ -218,7 +215,8 @@ PHP_HTTP_API STATUS _http_urlencode_hash_implementation_ex( zval *type TSRMLS_DC) { char *key = NULL, *ekey, *newprefix, *p; - int arg_sep_len, key_len, ekey_len, key_type, newprefix_len; + int arg_sep_len, ekey_len, key_type, newprefix_len; + uint key_len; ulong idx; zval **zdata = NULL, *copyzval;