Module: sip-router
Branch: master
Commit: d22d6d3f57d2fde13456eb365f42fd035980faed
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d22d6d3…
Author: Sven Knoblich <sven.knoblich(a)1und1.de>
Committer: Sven Knoblich <sven.knoblich(a)1und1.de>
Date: Tue Oct 11 10:34:47 2011 +0200
modules_k/acc: Fix bug which produce an invalid cdr-log
- exclude the check of an existing cdr_log_extra_str in acc_mod.c:mod_init.
(fixes flyspray-issue 166)
---
modules_k/acc/acc_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/acc/acc_mod.c b/modules_k/acc/acc_mod.c
index 3dbf1f1..c913eba 100644
--- a/modules_k/acc/acc_mod.c
+++ b/modules_k/acc/acc_mod.c
@@ -533,7 +533,7 @@ static int mod_init( void )
if( cdr_enable)
{
- if( cdr_log_extra_str && set_cdr_extra( cdr_log_extra_str) != 0)
+ if( set_cdr_extra( cdr_log_extra_str) != 0)
{
LM_ERR( "failed to set cdr extra '%s'\n",
cdr_log_extra_str);
return -1;