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
e789603e
Commit
e789603e
authored
Sep 19, 2011
by
Rafaël Carré
Browse files
ManagerImpl::registerAccounts(): simplify
parent
cb9ea906
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/managerimpl_registration.cpp
View file @
e789603e
...
...
@@ -49,14 +49,14 @@
void
ManagerImpl
::
registerAccounts
()
{
AccountMap
::
iterator
iter
;
for
(
AccountMap
::
iterator
iter
=
_accountMap
.
begin
();
iter
!=
_accountMap
.
end
();
++
iter
)
{
Account
*
a
=
iter
->
second
;
if
(
!
a
)
continue
;
for
(
iter
=
_accountMap
.
begin
();
iter
!=
_accountMap
.
end
();
++
iter
)
{
if
(
iter
->
second
)
{
iter
->
second
->
loadConfig
();
if
(
iter
->
second
->
isEnabled
())
iter
->
second
->
registerVoIPLink
();
}
a
->
loadConfig
();
if
(
a
->
isEnabled
())
a
->
registerVoIPLink
();
}
}
...
...
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