Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
0f33f629
Commit
0f33f629
authored
Aug 14, 2013
by
Tristan Matthews
Browse files
* #28351: sdes_negotiator: use range-based for loops
parent
cf120f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/siptransport.cpp
View file @
0f33f629
...
...
@@ -478,9 +478,8 @@ SipTransport::getSTUNAddresses(const SIPAccount &account,
&
serverName
,
port
,
&
serverName
,
port
,
&
result
[
0
])
!=
PJ_SUCCESS
)
throw
std
::
runtime_error
(
"Can't contact STUN server"
);
for
(
std
::
vector
<
pj_sockaddr_in
>::
const_iterator
it
=
result
.
begin
();
it
!=
result
.
end
();
++
it
)
WARN
(
"STUN PORTS: %ld"
,
pj_ntohs
(
it
->
sin_port
));
for
(
const
auto
&
it
:
result
)
WARN
(
"STUN PORTS: %ld"
,
pj_ntohs
(
it
.
sin_port
));
return
result
;
}
...
...
Write
Preview
Supports
Markdown
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