Commit e8f4eed0 authored by Martti Mela's avatar Martti Mela

segfault bug fix by Pekka and me in agent_init_contact().

darcs-hash:20060602121702-1b897-ee985c32bb58b832ae33e389ca740d1762d72a19.gz
parent 79148bc0
......@@ -28,6 +28,7 @@
* @author Kai Vehmanen <kai.vehmanen@nokia.com>
* @author Rob Taylor <rob.taylor@collabora.co.uk>
* @author Pekka Pessi <pekka.pessi@nokia.com>
* @author Martti Mela <martti.mela@nokia.com>
*/
#include <stddef.h>
......
......@@ -1740,7 +1740,7 @@ int agent_init_contact(nta_agent_t *self)
if (v2 &&
strcasecmp(v1->v_host, v2->v_host) == 0 &&
strcasecmp(v1->v_port, v2->v_port) == 0) {
str0casecmp(v1->v_port, v2->v_port) == 0) {
char const *p1 = v1->v_protocol, *p2 = v2->v_protocol;
if (strcasecmp(p1, sip_transport_udp))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment