Преглед изворни кода

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

Carsten Bock пре 11 година
родитељ
комит
01cd0a309e
1 измењених фајлова са 2 додато и 0 уклоњено
  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;
 					}
 				}
 			}