[sr-dev] git:master: ims_registrar_pcscf: Make sure, the contact stays NULL if the ip, port or reg_state is incorrect.

Carsten Bock carsten at ng-voice.com
Tue Mar 4 15:53:19 CET 2014


Module: sip-router
Branch: master
Commit: 01cd0a309ea85eaf6509e5266a825f6ffb834964
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=01cd0a309ea85eaf6509e5266a825f6ffb834964

Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at 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;
 					}
 				}
 			}




More information about the sr-dev mailing list