cvs: php-src /ext/standard http.c

From: Date: Sat, 06 Sep 2003 13:07:49 +0000
Subject: cvs: php-src /ext/standard http.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23657@lists.php.net to get a copy of this message
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;

« previous php.cvs (#23657) next »