Browse Source

ims_registrar_pcscf: Make sure, the contact stays NULL if the ip,port or reg_state is incorrect.

Carsten Bock 11 years ago
parent
commit
01cd0a309e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/ims_registrar_pcscf/service_routes.c

+ 2 - 0
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;
 					}
 				}
 			}