Pārlūkot izejas kodu

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

Carsten Bock 11 gadi atpakaļ
vecāks
revīzija
01cd0a309e
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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;
 								break;
 							c = NULL;
 							c = NULL;
 						}
 						}
+					} else {
+						c = NULL;
 					}
 					}
 				}
 				}
 			}
 			}