Module: kamailio Branch: master Commit: d6404937cfb7498dd85c4329f07269ee7c64f157 URL: https://github.com/kamailio/kamailio/commit/d6404937cfb7498dd85c4329f07269ee...
Author: mikomarrache mikomarrache@users.noreply.github.com Committer: mikomarrache mikomarrache@users.noreply.github.com Date: 2015-04-14T15:53:29+03:00
acc: fix copy/paste error
---
Modified: modules/acc/acc_cdr.c
---
Diff: https://github.com/kamailio/kamailio/commit/d6404937cfb7498dd85c4329f07269ee... Patch: https://github.com/kamailio/kamailio/commit/d6404937cfb7498dd85c4329f07269ee...
---
diff --git a/modules/acc/acc_cdr.c b/modules/acc/acc_cdr.c index a547c34..845fc12 100644 --- a/modules/acc/acc_cdr.c +++ b/modules/acc/acc_cdr.c @@ -175,7 +175,7 @@ static int db_write_cdr( struct dlg_cell* dialog, LM_ERR("failed to convert string to integer - %d.\n", errno); goto error; } - VAL_INT(db_cdr_vals+i) = cdr_value_array[i]; + VAL_INT(db_cdr_vals+i) = long_val; break; case TYPE_STR: VAL_TYPE(db_cdr_vals+i)=DB1_STR;