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
8cf3d742
Commit
8cf3d742
authored
Feb 19, 2013
by
Ghislain MARY
Browse files
Fix compilation with Visual Studio.
parent
935b7545
Changes
1
Hide whitespace changes
Inline
Side-by-side
tester/belle_sip_headers_tester.c
View file @
8cf3d742
...
...
@@ -608,10 +608,11 @@ void test_header_replaces(void) {
void
test_header_replaces_escaped
(
void
)
{
belle_sip_header_replaces_t
*
L_replaces
;
char
*
escaped_to_string
;
char
*
l_raw_header
;
belle_sip_header_replaces_t
*
L_tmp
=
belle_sip_header_replaces_create
(
"12345@192.168.118.3"
,
"5FFE-3994"
,
"12345"
);
escaped_to_string
=
belle_sip_header_replaces_value_to_escaped_string
(
L_tmp
);
L_replaces
=
belle_sip_header_replaces_create2
(
escaped_to_string
);
char
*
l_raw_header
=
belle_sip_object_to_string
(
BELLE_SIP_OBJECT
(
L_replaces
));
l_raw_header
=
belle_sip_object_to_string
(
BELLE_SIP_OBJECT
(
L_replaces
));
belle_sip_object_unref
(
BELLE_SIP_OBJECT
(
L_replaces
));
L_tmp
=
belle_sip_header_replaces_parse
(
l_raw_header
);
L_replaces
=
BELLE_SIP_HEADER_REPLACES
(
belle_sip_object_clone
(
BELLE_SIP_OBJECT
(
L_tmp
)));
...
...
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