Changeset 1233:0b4abb03bcaf in freeDiameter
- Timestamp:
- Sep 4, 2013, 9:14:31 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_acct/acct_db.c
r1127 r1233 175 175 176 176 if (acct_config->tsfield) { 177 ADD_EXTEND("$%d, ", ++idx); 177 ++idx; 178 ADD_EXTEND("$%d, ", idx); 178 179 } 179 180 if (acct_config->srvnfield) { … … 185 186 for (li = emptyrecords.all.next; li != &emptyrecords.all; li = li->next) { 186 187 struct acct_record_item * i = (struct acct_record_item *)(li->o); 187 ADD_EXTEND("$%d::%s", ++idx, diam2db_types_mapping[i->param->avptype]); 188 ++idx; 189 ADD_EXTEND("$%d::%s", idx, diam2db_types_mapping[i->param->avptype]); 188 190 189 191 if (li->next != &emptyrecords.all) {
Note: See TracChangeset
for help on using the changeset viewer.