File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -774,7 +774,7 @@ static mi_response_t *mi_get_stats(const mi_params_t *params,
774
774
mi_response_t * resp ;
775
775
mi_item_t * resp_obj ;
776
776
mi_item_t * params_arr ;
777
- int i , no_params ;
777
+ int i , j , no_params ;
778
778
int found ;
779
779
module_stats * mods ;
780
780
stat_var * stat ;
@@ -797,8 +797,8 @@ static mi_response_t *mi_get_stats(const mi_params_t *params,
797
797
798
798
if ( val .len == 3 && memcmp (val .s ,"all" ,3 )== 0 ) {
799
799
/* add all statistic variables */
800
- for ( i = 0 ; i < collector -> mod_no ;i ++ ) {
801
- if (mi_add_module_stats (resp_obj , & collector -> amodules [i ] )!= 0 )
800
+ for ( j = 0 ; j < collector -> mod_no ;j ++ ) {
801
+ if (mi_add_module_stats (resp_obj , & collector -> amodules [j ] )!= 0 )
802
802
goto error ;
803
803
}
804
804
You can’t perform that action at this time.
0 commit comments