[sr-dev] git:master: ims_registrar_pcscf: Bug-Fix for pcscf_assert_identity (minor)
admin at sip-router.org
admin at sip-router.org
Tue Jul 16 18:08:09 CEST 2013
Module: sip-router
Branch: master
Commit: 9a2b943bfccea83ac52ecb63f39c724f4b9504d4
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9a2b943bfccea83ac52ecb63f39c724f4b9504d4
Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date: Tue Jul 16 18:00:51 2013 +0200
ims_registrar_pcscf: Bug-Fix for pcscf_assert_identity (minor)
---
modules/ims_registrar_pcscf/service_routes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/ims_registrar_pcscf/service_routes.c b/modules/ims_registrar_pcscf/service_routes.c
index 06dc709..e53cdd0 100644
--- a/modules/ims_registrar_pcscf/service_routes.c
+++ b/modules/ims_registrar_pcscf/service_routes.c
@@ -410,7 +410,7 @@ int assert_identity(struct sip_msg* _m, udomain_t* _d, str identity) {
/* Check length: */
if (identity.len == p->public_identity.len) {
/* Check contents: */
- if (strncasecmp(identity.s, p->public_identity.s, identity.len) != 0) {
+ if (strncasecmp(identity.s, p->public_identity.s, identity.len) == 0) {
LM_DBG("Match!\n");
goto success;
}
More information about the sr-dev
mailing list