File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -2445,25 +2445,18 @@ PHP_REDIS_API int redis_response_enqueued(RedisSock *redis_sock TSRMLS_DC) {
2445
2445
return ret ;
2446
2446
}
2447
2447
2448
- PHP_REDIS_API void fold_this_item (INTERNAL_FUNCTION_PARAMETERS , fold_item * item ,
2449
- RedisSock * redis_sock , zval * z_tab )
2450
- {
2451
- item -> fun (INTERNAL_FUNCTION_PARAM_PASSTHRU , redis_sock , z_tab , item -> ctx
2452
- TSRMLS_CC );
2453
- }
2454
-
2455
2448
PHP_REDIS_API int
2456
2449
redis_sock_read_multibulk_multi_reply_loop (INTERNAL_FUNCTION_PARAMETERS ,
2457
2450
RedisSock * redis_sock , zval * z_tab ,
2458
2451
int numElems )
2459
2452
{
2453
+ fold_item * fi ;
2460
2454
2461
- fold_item * current ;
2462
- for (current = redis_sock -> head ; current ; current = current -> next ) {
2463
- fold_this_item (INTERNAL_FUNCTION_PARAM_PASSTHRU , current , redis_sock ,
2464
- z_tab );
2455
+ for (fi = redis_sock -> head ; fi ; fi = fi -> next ) {
2456
+ fi -> fun (INTERNAL_FUNCTION_PARAM_PASSTHRU , redis_sock , z_tab ,
2457
+ fi -> ctx TSRMLS_CC );
2465
2458
}
2466
- redis_sock -> current = current ;
2459
+ redis_sock -> current = fi ;
2467
2460
return 0 ;
2468
2461
}
2469
2462
You can’t perform that action at this time.
0 commit comments