[prev in list] [next in list] [prev in thread] [next in thread]
List: sr-dev
Subject: [sr-dev] git:master:14975b6e: cdp: fix a coverity scan error, duplicated code for logical statement
From: Henning Westerholt <hw () kamailio ! org>
Date: 2018-12-30 0:21:14
Message-ID: E1gdOqw-000453-CG () www ! kamailio ! org
[Download RAW message or body]
Module: kamailio
Branch: master
Commit: 14975b6e7e028aea9db198c64b65526fb9bd20b7
URL: https://github.com/kamailio/kamailio/commit/14975b6e7e028aea9db198c64b65526fb9bd20b7
Author: Henning Westerholt <hw@kamailio.org>
Committer: Henning Westerholt <hw@kamailio.org>
Date: 2018-12-30T00:41:58+01:00
cdp: fix a coverity scan error, duplicated code for logical statement
---
Modified: src/modules/cdp/session.c
---
Diff: https://github.com/kamailio/kamailio/commit/14975b6e7e028aea9db198c64b65526fb9bd20b7.diff
Patch: https://github.com/kamailio/kamailio/commit/14975b6e7e028aea9db198c64b65526fb9bd20b7.patch
---
diff --git a/src/modules/cdp/session.c b/src/modules/cdp/session.c
index dd5c026e3e..60e97becae 100644
--- a/src/modules/cdp/session.c
+++ b/src/modules/cdp/session.c
@@ -607,8 +607,8 @@ AAASession* cdp_new_cc_acc_session(str id, int is_statefull)
AAASession *s;
cdp_session_type_t type;
- if (is_statefull) type = ACCT_CC_CLIENT;
- else type = ACCT_CC_CLIENT; //for now everything will be supported through this SM (until we add IEC)
+ //for now everything will be supported through this SM (until we add IEC)
+ type = ACCT_CC_CLIENT;
s = cdp_new_session(id,type);
if (s) {
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic