Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-02-17 20:47:28 +0300
committermichael-grunder <michael.grunder@gmail.com>2018-02-17 20:47:28 +0300
commita4afe919094cdc2f71fa59d76f4c7f5a08bd1d00 (patch)
tree93088d9972b19de4c8781cecf55f4dc8fd5f4d6d /redis_array.c
parent78fa97684ee85f4848ba78e07527deb6caff2fe2 (diff)
Some style normalization
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis_array.c b/redis_array.c
index 7fbbc6b4..26d8f343 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -135,7 +135,7 @@ redis_array_free(RedisArray *ra)
int i;
/* Redis objects */
- for(i=0;i<ra->count;i++) {
+ for(i = 0; i< ra->count; i++) {
zval_dtor(&ra->redis[i]);
efree(ra->hosts[i]);
}
@@ -718,7 +718,7 @@ PHP_METHOD(RedisArray, keys)
array_init(return_value);
/* Iterate our RedisArray nodes */
- for(i=0; i<ra->count; ++i) {
+ for(i = 0; i < ra->count; ++i) {
zval zv, *z_tmp = &zv;
#if (PHP_MAJOR_VERSION < 7)
/* Return for this node */