Commit cc579862 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed sip_contact_string_from_via()

darcs-hash:20060316133526-65a35-d1b1d0b4f1867dcbc28fea03a7540410f445f9fa.gz
parent 7ac54809
......@@ -191,7 +191,7 @@ sip_contact_string_from_via(su_home_t *home,
if (sip_transport_has_tls(v->v_protocol) ||
sip_transport_has_tls(transport)) {
scheme = "sips";
scheme = "sips:";
if (port && strcmp(port, SIPS_DEFAULT_SERV) == 0)
port = NULL;
if (port || host_is_ip_address(host))
......@@ -202,7 +202,7 @@ sip_contact_string_from_via(su_home_t *home,
port = NULL;
}
if (transport && strncasecmp(transport, "SIP/2.0/", 8 == 0))
if (transport && strncasecmp(transport, "SIP/2.0/", 8) == 0)
transport += 8;
/* Make transport parameter lowercase */
......
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