From 5b7ffef95a9f358fc3448bc71546d05363cae382 Mon Sep 17 00:00:00 2001 From: Doubango Telecom Date: Fri, 12 Aug 2016 03:35:24 +0200 Subject: Forward display name from the stack to all SIP messages --- tinySIP/src/transports/tsip_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinySIP/src/transports/tsip_transport.c') diff --git a/tinySIP/src/transports/tsip_transport.c b/tinySIP/src/transports/tsip_transport.c index feec0df..f807d51 100755 --- a/tinySIP/src/transports/tsip_transport.c +++ b/tinySIP/src/transports/tsip_transport.c @@ -248,7 +248,7 @@ int tsip_transport_msg_update_aor(tsip_transport_t* self, tsip_message_t *msg) /* === Host and port === */ if(msg->Contact && msg->Contact->uri) { - tsk_strupdate(&(msg->Contact->uri->scheme), self->scheme); + tsk_strupdate(&(msg->Contact->uri->scheme), self->scheme); msg->Contact->uri->host_type = TNET_SOCKET_TYPE_IS_IPV6(self->type) ? host_ipv6 : host_ipv4; /* for serializer ...who know? */ tsk_params_add_param(&msg->Contact->uri->params, "transport", self->protocol); -- cgit v1.1