Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
b4053f82
Commit
b4053f82
authored
Sep 27, 2017
by
Ghislain MARY
Browse files
Copy parameters when cloning an address header.
parent
2c9ea856
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/belle_sip_headers_impl.c
src/belle_sip_headers_impl.c
+1
-0
No files found.
src/belle_sip_headers_impl.c
View file @
b4053f82
...
@@ -207,6 +207,7 @@ static void _belle_sip_header_address_clone(belle_sip_header_address_t *addr, co
...
@@ -207,6 +207,7 @@ static void _belle_sip_header_address_clone(belle_sip_header_address_t *addr, co
if
(
belle_sip_header_address_get_absolute_uri
(
orig
))
{
if
(
belle_sip_header_address_get_absolute_uri
(
orig
))
{
belle_sip_header_address_set_absolute_uri
(
addr
,
BELLE_GENERIC_URI
(
belle_sip_object_clone
(
BELLE_SIP_OBJECT
(
belle_sip_header_address_get_absolute_uri
(
orig
)))));
belle_sip_header_address_set_absolute_uri
(
addr
,
BELLE_GENERIC_URI
(
belle_sip_object_clone
(
BELLE_SIP_OBJECT
(
belle_sip_header_address_get_absolute_uri
(
orig
)))));
}
}
belle_sip_parameters_copy_parameters_from
(
&
addr
->
base
,
&
orig
->
base
);
}
}
belle_sip_header_address_t
*
belle_sip_header_address_clone
(
const
belle_sip_header_address_t
*
orig
)
{
belle_sip_header_address_t
*
belle_sip_header_address_clone
(
const
belle_sip_header_address_t
*
orig
)
{
belle_sip_header_address_t
*
new_address
=
belle_sip_header_address_new
();
belle_sip_header_address_t
*
new_address
=
belle_sip_header_address_new
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment