sniper Sat Sep 6 09:07:49 2003 EDT Modified files: /php-src/ext/standard http.c Log: - Typos, CS, etc. # Sara, add the missing description to the proto.. Index: php-src/ext/standard/http.c diff -u php-src/ext/standard/http.c:1.5 php-src/ext/standard/http.c:1.6 --- php-src/ext/standard/http.c:1.5 Sat Sep 6 08:56:02 2003 +++ php-src/ext/standard/http.c Sat Sep 6 09:07:47 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: http.c,v 1.5 2003/09/06 12:56:02 sniper Exp $ */ +/* $Id: http.c,v 1.6 2003/09/06 13:07:47 sniper Exp $ */ #include "php_http.h" #include "php_ini.h" @@ -40,7 +40,7 @@ } if (ht->nApplyCount > 0) { - /* Prevent Recuriosn */ + /* Prevent recursion */ return SUCCESS; } @@ -50,9 +50,10 @@ } 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 @@ } /* }}} */ +/* {{{ proto string http_build_query(mixed formdata [, string prefix]) + */ PHP_FUNCTION(http_build_query) { zval *formdata;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php