• Guillaume Roguez's avatar
    manager: fix newOutgoingCall method · e4a96e79
    Guillaume Roguez authored
    Manager::newOutgoingCall() does not handle case where
    a valid account is found (no prefered given) but not usable,
    and many accounts are possible.
    They are not tested.
    This patch fixes this situation and also reduce cyclomatic
    complexity by factoring the account search loop.
    
    Change-Id: I505d082f4ca5d7756fe1f257e1767696dc41a2bf
    e4a96e79
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...