Przeglądaj źródła

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

Daniel-Constantin Mierla 11 lat temu
rodzic
commit
387c369a11
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      modules/tm/t_serial.c

+ 1 - 1
modules/tm/t_serial.c

@@ -197,7 +197,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);