diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp index c2ab35751955e09a4ad13ce82c39ad4d056a75ce..a2a2f17f74ede9422f5eed090f6588fe094e5d1b 100644 --- a/sflphone-common/src/managerimpl.cpp +++ b/sflphone-common/src/managerimpl.cpp @@ -3515,7 +3515,7 @@ ManagerImpl::getAccountList() iter = _accountMap.begin (); while (iter != _accountMap.end()) { - if (iter->second != NULL) { + if (iter->second != NULL && iter->first != IP2IP_PROFILE) { //_debug("PUSHING BACK %s\n", iter->first.c_str()); v.push_back (iter->first.data()); } @@ -3532,13 +3532,11 @@ ManagerImpl::getAccountList() // This account has not been loaded, so we ignore it if ( (iter=_accountMap.find (account_order[i])) != _accountMap.end()) { // If the account is valid - if (iter->second != NULL) { + if (iter->second != NULL && iter->first != IP2IP_PROFILE) { v.push_back (iter->first.data ()); } } } - - } return v;