Selaa lähdekoodia

tm: fixed typo in previous commit related to name of struct contact variable

(cherry picked from commit 387c369a11730afe680fb32138b93d4024f5b88d)
(cherry picked from commit 773ee22645ecbf042a871b510fff77b967bccc4d)
Daniel-Constantin Mierla 11 vuotta sitten
vanhempi
commit
f9f50dacf2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/tm/t_serial.c

+ 1 - 1
modules/tm/t_serial.c

@@ -176,7 +176,7 @@ int t_load_contacts(struct sip_msg* msg, char* key, char* value)
 		LM_ERR("no memory for contact info\n");
 		return -1;
 	}
-	memset(contact, 0, sizeof(struct contact));
+	memset(contacts, 0, sizeof(struct contact));
 
 	if (ruri_is_new) {
 		ruri = GET_RURI(msg);