[asterisk-commits] branch oej/cdr_radius r28590 -
/team/oej/cdr_radius/cdr/cdr_radius.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri May 19 06:49:03 MST 2006
Author: russell
Date: Fri May 19 08:49:03 2006
New Revision: 28590
URL: http://svn.digium.com/view/asterisk?rev=28590&view=rev
Log:
fix a bug introduced by my changes, fixed by phsultan, thanks!
Modified:
team/oej/cdr_radius/cdr/cdr_radius.c
Modified: team/oej/cdr_radius/cdr/cdr_radius.c
URL: http://svn.digium.com/view/asterisk/team/oej/cdr_radius/cdr/cdr_radius.c?rev=28590&r1=28589&r2=28590&view=diff
==============================================================================
--- team/oej/cdr_radius/cdr/cdr_radius.c (original)
+++ team/oej/cdr_radius/cdr/cdr_radius.c Fri May 19 08:49:03 2006
@@ -209,14 +209,14 @@
/* Disposition */
tmp = ast_cdr_disp2str(cdr->disposition);
- if (!rc_avpair_add(rh, send, PW_AST_DISPOSITION, &tmp, strlen(tmp), VENDOR_CODE)) {
+ if (!rc_avpair_add(rh, send, PW_AST_DISPOSITION, tmp, strlen(tmp), VENDOR_CODE)) {
ast_log(LOG_WARNING, "Failed to add VALUE PAIR. RADIUS CDR not recorded!\n");
return -1;
}
/* AMA Flags */
tmp = ast_cdr_flags2str(cdr->amaflags);
- if (!rc_avpair_add(rh, send, PW_AST_AMA_FLAGS, &tmp, strlen(tmp), VENDOR_CODE)) {
+ if (!rc_avpair_add(rh, send, PW_AST_AMA_FLAGS, tmp, strlen(tmp), VENDOR_CODE)) {
ast_log(LOG_WARNING, "Failed to add VALUE PAIR. RADIUS CDR not recorded!\n");
return -1;
}
More information about the asterisk-commits
mailing list