Module: sip-router
Branch: master
Commit: 01cd0a309ea85eaf6509e5266a825f6ffb834964
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=01cd0a3…
Author: Carsten Bock <carsten(a)ng-voice.com>
Committer: Carsten Bock <carsten(a)ng-voice.com>
Date: Tue Mar 4 15:51:04 2014 +0100
ims_registrar_pcscf: Make sure, the contact stays NULL if the ip,port or reg_state is
incorrect.
---
modules/ims_registrar_pcscf/service_routes.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/ims_registrar_pcscf/service_routes.c
b/modules/ims_registrar_pcscf/service_routes.c
index 452548a..6360aab 100644
--- a/modules/ims_registrar_pcscf/service_routes.c
+++ b/modules/ims_registrar_pcscf/service_routes.c
@@ -142,6 +142,8 @@ pcontact_t * getContactP(struct sip_msg* _m, udomain_t* _d) {
break;
c = NULL;
}
+ } else {
+ c = NULL;
}
}
}