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
61176207
Commit
61176207
authored
Jun 01, 2015
by
Gautier Pelloux-Prayer
Browse files
belle_sip_register_tester.c: reformat if else block
parent
e1f10adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tester/belle_sip_register_tester.c
View file @
61176207
...
...
@@ -311,7 +311,9 @@ belle_sip_request_t* try_register_user_at_domain(belle_sip_stack_t * stack
if
(
use_transaction
){
belle_sip_client_transaction_t
*
t
=
belle_sip_provider_create_client_transaction
(
prov
,
req
);
belle_sip_client_transaction_send_request_to
(
t
,
outbound
?
belle_sip_uri_parse
(
outbound
)
:
NULL
);
}
else
belle_sip_provider_send_request
(
prov
,
req
);
}
else
{
belle_sip_provider_send_request
(
prov
,
req
);
}
for
(
i
=
0
;
!
is_register_ok
&&
i
<
20
&&
io_error_count
==
0
;
i
++
)
{
belle_sip_stack_sleep
(
stack
,
500
);
if
(
!
use_transaction
&&
!
is_register_ok
)
{
...
...
@@ -632,7 +634,6 @@ static void reuse_nonce(void) {
int
initial_auth_context_count
=
belle_sip_list_size
(
prov
->
auth_contexts
);
register_request
=
register_user_at_domain
(
stack
,
prov
,
"tcp"
,
1
,
"marie"
,
"sip.linphone.org"
,
NULL
);
if
(
register_request
)
{
char
*
first_nonce_used
;
belle_sip_header_authorization_t
*
h
=
NULL
;
belle_sip_request_t
*
message_request
;
...
...
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