{
wspstat_t *sp=psp;
const wsp_info_value_t *value=pri;
- gint index = pdut2index(value->pdut);
+ gint idx = pdut2index(value->pdut);
int retour=0;
if (value->status_code != 0) {
- if (index!=0) {
- sp->pdu_stats[ index ].packets++;
+ if (idx!=0) {
+ sp->pdu_stats[ idx ].packets++;
retour = 1;
}
return retour;