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>2016-12-20 01:14:41 +0300
committermichael-grunder <michael.grunder@gmail.com>2016-12-20 01:14:41 +0300
commit2b91d5823920889f2ff5f64d15a353a8dafe4adf (patch)
tree062c7619ef78e8d0f19cfc838427d51ef914cf2f /cluster_library.c
parent85e0b9e7b296e6d99cda83876de17fc8fb70d841 (diff)
OCD spacing FTW
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 9ea41676..ba3875cd 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -1678,7 +1678,7 @@ PHP_REDIS_API void cluster_sub_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster *
/* Multibulk response, {[pattern], type, channel, payload} */
while(1) {
/* Arguments */
- zval *z_type, *z_chan, *z_pat=NULL, *z_data;
+ zval *z_type, *z_chan, *z_pat = NULL, *z_data;
int tab_idx=1, is_pmsg;
// Get the next subscribe response
@@ -2359,8 +2359,8 @@ int mbulk_resp_loop_zipstr(RedisSock *redis_sock, zval *z_result,
long long count, void *ctx TSRMLS_DC)
{
char *line, *key = NULL;
- int line_len, key_len=0;
- long long idx=0;
+ int line_len, key_len = 0;
+ long long idx = 0;
// Our count wil need to be divisible by 2
if(count % 2 != 0) {
@@ -2401,9 +2401,9 @@ int mbulk_resp_loop_zipstr(RedisSock *redis_sock, zval *z_result,
int mbulk_resp_loop_zipdbl(RedisSock *redis_sock, zval *z_result,
long long count, void *ctx TSRMLS_DC)
{
- char *line, *key=NULL;
- int line_len, key_len=0;
- long long idx=0;
+ char *line, *key = NULL;
+ int line_len, key_len = 0;
+ long long idx = 0;
// Our context will need to be divisible by 2
if(count %2 != 0) {