diff options
author | foobar <sniper@php.net> | 2003-09-06 13:07:47 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-09-06 13:07:47 +0000 |
commit | d00a14339c641dbfda0783ed8733176e4646f4f5 (patch) | |
tree | 7b38b4a6f52ee3ac325b7717431e11b3aa24c518 | |
parent | 35529e1964d2317d6b34d2230ff3d20f29d27cbb (diff) | |
download | php-git-d00a14339c641dbfda0783ed8733176e4646f4f5.tar.gz |
- Typos, CS, etc.
# Sara, add the missing description to the proto..
-rw-r--r-- | ext/standard/http.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/standard/http.c b/ext/standard/http.c index ba0afda245..d7a7d8c94e 100644 --- a/ext/standard/http.c +++ b/ext/standard/http.c @@ -40,7 +40,7 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, } if (ht->nApplyCount > 0) { - /* Prevent Recuriosn */ + /* Prevent recursion */ return SUCCESS; } @@ -50,9 +50,10 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, } arg_sep_len = strlen(arg_sep); - for(zend_hash_internal_pointer_reset(ht); + for (zend_hash_internal_pointer_reset(ht); (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT; - zend_hash_move_forward(ht)) { + zend_hash_move_forward(ht) + ) { if (key_len && key[key_len-1] == '\0') { /* We don't want that trailing NULL */ key_len -= 1; @@ -168,6 +169,8 @@ PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, } /* }}} */ +/* {{{ proto string http_build_query(mixed formdata [, string prefix]) + */ PHP_FUNCTION(http_build_query) { zval *formdata; |