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
mediastreamer2
Commits
28a6225b
Commit
28a6225b
authored
Aug 07, 2012
by
Ghislain MARY
Browse files
Remove useless comments.
parent
fc9a7518
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ice.c
src/ice.c
+1
-2
No files found.
src/ice.c
View file @
28a6225b
...
...
@@ -805,7 +805,6 @@ static void ice_send_binding_request(IceCheckList *cl, IceCandidatePair *pair, c
socket
=
rtp_session_get_rtcp_socket
(
rtp_session
);
}
else
return
;
// TODO: Check size of username.value because "RFRAG:LFRAG" can be up to 513 bytes!
snprintf
(
username
.
value
,
sizeof
(
username
.
value
)
-
1
,
"%s:%s"
,
ice_check_list_remote_ufrag
(
cl
),
ice_check_list_local_ufrag
(
cl
));
username
.
sizeValue
=
strlen
(
username
.
value
);
snprintf
(
password
.
value
,
sizeof
(
password
.
value
)
-
1
,
"%s"
,
ice_check_list_remote_pwd
(
cl
));
...
...
@@ -813,7 +812,7 @@ static void ice_send_binding_request(IceCheckList *cl, IceCandidatePair *pair, c
stunParseHostName
(
pair
->
remote
->
taddr
.
ip
,
&
dest
.
addr
,
&
dest
.
port
,
pair
->
remote
->
taddr
.
port
);
memset
(
&
msg
,
0
,
sizeof
(
msg
));
stunBuildReqSimple
(
&
msg
,
&
username
,
FALSE
,
FALSE
,
1
);
// TODO: Should the id always be 1???
stunBuildReqSimple
(
&
msg
,
&
username
,
FALSE
,
FALSE
,
1
);
msg
.
hasMessageIntegrity
=
TRUE
;
msg
.
hasFingerprint
=
TRUE
;
...
...
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