Skip to content

Commit 3db87b8

Browse files
No tabs allowed :)
1 parent e8a9124 commit 3db87b8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

library.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,16 +2126,16 @@ redis_read_variant_line(RedisSock *redis_sock, REDIS_REPLY_TYPE reply_type,
21262126
/* Handle throwable errors */
21272127
redis_error_throw(redis_sock TSRMLS_CC);
21282128

2129-
/* Set our response to FALSE */
2130-
ZVAL_FALSE(z_ret);
2131-
} else {
2132-
if (!redis_sock->reply_literal) {
2133-
/* Set our response to TRUE */
2134-
ZVAL_TRUE(z_ret);
2135-
} else {
2136-
ZVAL_STRINGL(z_ret, inbuf, line_size);
2137-
}
2138-
}
2129+
/* Set our response to FALSE */
2130+
ZVAL_FALSE(z_ret);
2131+
} else {
2132+
if (!redis_sock->reply_literal) {
2133+
/* Set our response to TRUE */
2134+
ZVAL_TRUE(z_ret);
2135+
} else {
2136+
ZVAL_STRINGL(z_ret, inbuf, line_size);
2137+
}
2138+
}
21392139

21402140
return 0;
21412141
}

0 commit comments

Comments
 (0)