[svn-commits] branch oej/cdr_radius r28444 -
/team/oej/cdr_radius/cdr/cdr_radius.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu May 18 19:05:19 MST 2006
Author: russell
Date: Thu May 18 21:05:18 2006
New Revision: 28444
URL: http://svn.digium.com/view/asterisk?rev=28444&view=rev
Log:
if there is an error building the radius record, return before actually
trying to send it
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=28444&r1=28443&r2=28444&view=diff
==============================================================================
--- team/oej/cdr_radius/cdr/cdr_radius.c (original)
+++ team/oej/cdr_radius/cdr/cdr_radius.c Thu May 18 21:05:18 2006
@@ -245,8 +245,10 @@
int result = ERROR_RC;
VALUE_PAIR *send = NULL;
- if (build_radius_record(&send, cdr))
+ if (build_radius_record(&send, cdr)) {
ast_log(LOG_WARNING, "Unable to create RADIUS record. CDR not recorded!\n");
+ return result;
+ }
result = rc_acct(rh, 0, send);
if (result != OK_RC)
More information about the svn-commits
mailing list