Skip to content
Snippets Groups Projects
Commit 3b99340e authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Cosmetic fixup

parent 4aa6027c
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,8 @@ sub acct_log ...@@ -196,7 +196,8 @@ sub acct_log
# Insert into database # Insert into database
my $sth = DBDo(@dbDoParams); my $sth = DBDo(@dbDoParams);
if (!$sth) { if (!$sth) {
$server->log(LOG_ERR,"[MOD_ACCOUNTING_SQL] Failed to insert accounting START record: ".smradius::dblayer::Error()); $server->log(LOG_ERR,"[MOD_ACCOUNTING_SQL] Failed to insert accounting START record: ".
smradius::dblayer::Error());
return MOD_RES_NACK; return MOD_RES_NACK;
} }
...@@ -207,7 +208,8 @@ sub acct_log ...@@ -207,7 +208,8 @@ sub acct_log
# Update database # Update database
my $sth = DBDo(@dbDoParams); my $sth = DBDo(@dbDoParams);
if (!$sth) { if (!$sth) {
$server->log(LOG_ERR,"[MOD_ACCOUNTING_SQL] Failed to update accounting ALIVE record: ".smradius::dblayer::Error()); $server->log(LOG_ERR,"[MOD_ACCOUNTING_SQL] Failed to update accounting ALIVE record: ".
smradius::dblayer::Error());
return MOD_RES_NACK; return MOD_RES_NACK;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment